|
|||||||||
| Home >> All >> net >> jxta >> impl >> membership >> [ pse overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
net.jxta.impl.membership.pse
Class PSEMembershipService

java.lang.Objectnet.jxta.impl.membership.pse.PSEMembershipService
- All Implemented Interfaces:
- net.jxta.membership.MembershipService, net.jxta.platform.Module, net.jxta.service.Service
- public final class PSEMembershipService
- extends java.lang.Object
- implements net.jxta.membership.MembershipService
- extends java.lang.Object
A JXTA Membership Service utilizing PKI to provide secure identities.
| Field Summary | |
private net.jxta.id.ID |
assignedID
The ID assigned to this instance. |
private java.util.List |
authCredentials
The set of AuthenticationCredentials which were used to establish the principals. |
private net.jxta.impl.protocol.PSEConfigAdv |
config
The configuration we are using. |
private PSECredential |
defaultCredential
the default credential |
(package private) net.jxta.peergroup.PeerGroup |
group
the peergroup to which this service is associated. |
private net.jxta.protocol.ModuleImplAdvertisement |
implAdvertisement
The ModuleImplAdvertisement which was used to instantiate this service. |
private static org.apache.log4j.Logger |
LOG
Log4J Logger |
private java.util.List |
principals
The current set of principals associated with this peer within this peegroup. |
static net.jxta.platform.ModuleSpecID |
pseMembershipSpecID
Well known service specification identifier: pse membership |
(package private) PSEConfig |
pseStore
the keystore we are working with. |
private java.beans.PropertyChangeSupport |
support
property change support |
| 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 |
LOG
private static final transient org.apache.log4j.Logger LOG
- Log4J Logger
pseMembershipSpecID
public static final net.jxta.platform.ModuleSpecID pseMembershipSpecID
- Well known service specification identifier: pse membership
group
net.jxta.peergroup.PeerGroup group
- the peergroup to which this service is associated.
assignedID
private net.jxta.id.ID assignedID
- The ID assigned to this instance.
implAdvertisement
private net.jxta.protocol.ModuleImplAdvertisement implAdvertisement
- The ModuleImplAdvertisement which was used to instantiate this service.
principals
private final java.util.List principals
- The current set of principals associated with this peer within this peegroup.
authCredentials
private final java.util.List authCredentials
- The set of AuthenticationCredentials which were used to establish the principals.
support
private final java.beans.PropertyChangeSupport support
- property change support
pseStore
PSEConfig pseStore
- the keystore we are working with.
defaultCredential
private PSECredential defaultCredential
- the default credential
config
private net.jxta.impl.protocol.PSEConfigAdv config
- The configuration we are using.
| Constructor Detail |
PSEMembershipService
public PSEMembershipService()
throws net.jxta.exception.PeerGroupException
- Default constructor. Normally only called by the peer group.
| Method Detail |
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Description copied from interface:
net.jxta.membership.MembershipService - Add a listener
- Specified by:
addPropertyChangeListenerin interfacenet.jxta.membership.MembershipService
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
- Description copied from interface:
net.jxta.membership.MembershipService - Add a listener. Available properties from all Membership Services are :
defaultCredentialaddCredential
- Specified by:
addPropertyChangeListenerin interfacenet.jxta.membership.MembershipService
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Description copied from interface:
net.jxta.membership.MembershipService - Remove a listener
- Specified by:
removePropertyChangeListenerin interfacenet.jxta.membership.MembershipService
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
- Description copied from interface:
net.jxta.membership.MembershipService - Remove a listener
- Specified by:
removePropertyChangeListenerin interfacenet.jxta.membership.MembershipService
init
public void init(net.jxta.peergroup.PeerGroup group, net.jxta.id.ID assignedID, net.jxta.document.Advertisement impl) throws net.jxta.exception.PeerGroupException
- null
- Specified by:
initin interfacenet.jxta.platform.Module
getInterface
public net.jxta.service.Service getInterface()
- null
- Specified by:
getInterfacein interfacenet.jxta.service.Service
getImplAdvertisement
public net.jxta.document.Advertisement getImplAdvertisement()
- null
- Specified by:
getImplAdvertisementin interfacenet.jxta.service.Service
startApp
public int startApp(java.lang.String[] arg)
- null
Currently this service starts by itself and does not expect
arguments.
- Specified by:
startAppin interfacenet.jxta.platform.Module
stopApp
public void stopApp()
- null
- Specified by:
stopAppin interfacenet.jxta.platform.Module
apply
public net.jxta.membership.Authenticator apply(net.jxta.credential.AuthenticationCredential application) throws net.jxta.exception.ProtocolNotSupportedException
- null
Supports methods
"StringAuthentication","DialogAuthentication"and"InteractiveAuthentication"(an alias for"DialogAuthentication")- Specified by:
applyin interfacenet.jxta.membership.MembershipService
getDefaultCredential
public net.jxta.credential.Credential getDefaultCredential()
- null
- Specified by:
getDefaultCredentialin interfacenet.jxta.membership.MembershipService
setDefaultCredential
private void setDefaultCredential(PSECredential newDefault)
- Sets the default credential. Also updates the peer advertisement with
the certificate of the default credential.
getCurrentCredentials
public java.util.Enumeration getCurrentCredentials()
- null
- Specified by:
getCurrentCredentialsin interfacenet.jxta.membership.MembershipService
getAuthCredentials
public java.util.Enumeration getAuthCredentials()
- null
- Specified by:
getAuthCredentialsin interfacenet.jxta.membership.MembershipService
join
public net.jxta.credential.Credential join(net.jxta.membership.Authenticator authenticated) throws net.jxta.exception.PeerGroupException
- null
- Specified by:
joinin interfacenet.jxta.membership.MembershipService
resign
public void resign()
- null
- Specified by:
resignin interfacenet.jxta.membership.MembershipService
makeCredential
public net.jxta.credential.Credential makeCredential(net.jxta.document.Element element)
- null
- Specified by:
makeCredentialin interfacenet.jxta.membership.MembershipService
getPSEConfig
public PSEConfig getPSEConfig()
- Returns the key store object associated with this PSE Membership Service.
|
|||||||||
| Home >> All >> net >> jxta >> impl >> membership >> [ pse overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
net.jxta.impl.membership.pse.PSEMembershipService