|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.impl.membership.pse.PSEMembershipService
public final class PSEMembershipService
A JXTA Membership Service utilizing PKI to provide secure identities.
MembershipService| Field Summary | |
|---|---|
(package private) PeerGroup |
group
the peergroup to which this service is associated. |
static ModuleSpecID |
pseMembershipSpecID
Well known service specification identifier: pse membership |
(package private) PSEConfig |
pseStore
the keystore we are working with. |
| Fields inherited from interface net.jxta.platform.Module |
|---|
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK |
| Constructor Summary | |
|---|---|
PSEMembershipService()
Default constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ModuleSpecID pseMembershipSpecID
PeerGroup group
PSEConfig pseStore
| Constructor Detail |
|---|
public PSEMembershipService()
throws PeerGroupException
PeerGroupException| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface MembershipService
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
addPropertyChangeListener in interface MembershipServicepublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface MembershipService
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
removePropertyChangeListener in interface MembershipService
public void init(PeerGroup group,
ID assignedID,
Advertisement impl)
throws PeerGroupException
init in interface ModulePeerGroupExceptionpublic Service getInterface()
getInterface in interface Servicepublic Advertisement getImplAdvertisement()
getImplAdvertisement in interface Servicepublic int startApp(String[] arg)
startApp in interface Modulepublic void stopApp()
stopApp in interface Module
public Authenticator apply(AuthenticationCredential application)
throws ProtocolNotSupportedException
"StringAuthentication",
"DialogAuthentication" and
"InteractiveAuthentication" (an alias for
"DialogAuthentication")
apply in interface MembershipServiceProtocolNotSupportedExceptionpublic Credential getDefaultCredential()
getDefaultCredential in interface MembershipServicepublic Enumeration getCurrentCredentials()
getCurrentCredentials in interface MembershipServicepublic Enumeration getAuthCredentials()
getAuthCredentials in interface MembershipService
public Credential join(Authenticator authenticated)
throws PeerGroupException
join in interface MembershipServicePeerGroupExceptionpublic void resign()
resign in interface MembershipServicepublic Credential makeCredential(Element element)
makeCredential in interface MembershipServicepublic PSEConfig getPSEConfig()
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||