|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.java.security.Identity | +--com.novell.service.security.XplatIdentity | +--com.novell.service.security.BinderyIdentity
Represents an authenticatable entity in a bindery system (a user, an administrator, and so forth). Every BinderyIdentity is associated with a server identity scope, which is then associated with the bindery administrative domain scope. The server domain scope is a child of the administrative domain scope, and a user identity is a child of the server domain scope.
For example, to construct a user named Karah on a bindery
server called Jaeger:
IdentityScope administrativeDomain = new BinderyIdentityScope();
IdentityScope server = new BinderyIdentityScope("Jaeger",administrativeDomain);
Identity user = new BinderyIdentity("Karah",server);
BinderyIdentityScope
,
NdsIdentity
Constructor Summary | |
BinderyIdentity(Identity identity)
Constructs an identity from another specified identity. |
|
BinderyIdentity(java.lang.String name)
Construct an identity with the specified user name and no scope. |
|
BinderyIdentity(java.lang.String name,
IdentityScope scope)
Construct an identity with the specified user name and server name as an IdentityScope. |
|
BinderyIdentity(java.lang.String name,
java.lang.String server)
Construct an identity with the specified user name and scope (server name). |
Method Summary | |
java.lang.String |
getAdministrativeDomain()
Get the administrative domain string. |
PasswordIdentity |
getPasswordIdentityInstance()
Instantiate a password identity class. |
java.lang.String |
getUserDomain()
Returns the user domain string. |
java.lang.String |
getUsername()
Parses the identity to create a user name string. |
Methods inherited from class com.novell.service.security.XplatIdentity |
getSession,
getSessionManager,
setSession,
setSessionManager |
Methods inherited from class com.novell.java.security.Identity |
addCertificate,
equals,
getCertificates,
getInfo,
getName,
getPublicKey,
getScope,
hashCode,
removeCertificate,
setInfo,
setPublicKey,
toString,
toString |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BinderyIdentity(java.lang.String name)
name
- The user name of the identity.public BinderyIdentity(java.lang.String name, java.lang.String server) throws KeyManagementException
name
- The user name of the identity.server
- The server name of the identity.public BinderyIdentity(java.lang.String name, IdentityScope scope) throws KeyManagementException
name
- The name of the identity.scope
- The IdentityScope of the server.public BinderyIdentity(Identity identity) throws KeyManagementException
identity
- The identity to copy.Method Detail |
public java.lang.String getAdministrativeDomain()
public java.lang.String getUsername()
public java.lang.String getUserDomain()
public PasswordIdentity getPasswordIdentityInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |