|
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
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
Method Detail |
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface MembershipService
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface MembershipService
public 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 Module
PeerGroupException
public Service getInterface()
getInterface
in interface Service
public Advertisement getImplAdvertisement()
getImplAdvertisement
in interface Service
public int startApp(String[] arg)
startApp
in interface Module
public void stopApp()
stopApp
in interface Module
public Authenticator apply(AuthenticationCredential application) throws ProtocolNotSupportedException
"StringAuthentication"
,
"DialogAuthentication"
and
"InteractiveAuthentication"
(an alias for
"DialogAuthentication"
)
apply
in interface MembershipService
ProtocolNotSupportedException
public Credential getDefaultCredential()
getDefaultCredential
in interface MembershipService
public Enumeration getCurrentCredentials()
getCurrentCredentials
in interface MembershipService
public Enumeration getAuthCredentials()
getAuthCredentials
in interface MembershipService
public Credential join(Authenticator authenticated) throws PeerGroupException
join
in interface MembershipService
PeerGroupException
public void resign()
resign
in interface MembershipService
public Credential makeCredential(Element element)
makeCredential
in interface MembershipService
public PSEConfig getPSEConfig()
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |