com.novell.service.security
Class BinderyIdentityScope
java.lang.Object
|
+--com.novell.java.security.Identity
|
+--com.novell.java.security.IdentityScope
|
+--com.novell.service.security.XplatIdentityScope
|
+--com.novell.service.security.BinderyIdentityScope
- public class BinderyIdentityScope
- extends XplatIdentityScope
Represents an authenticatable container in a Bindery system, such
as a server. Every BinderyIdentity is associated with a server
identity scope which, in turn, is 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 you could do the following:
IdentityScope administrativeDomain = new BinderyIdentityScope();
IdentityScope server = new BinderyIdentityScope("Jaeger",administrativeDomain);
Identity user = new BinderyIdentity("Karah",server);
- See Also:
BinderyIdentity
,
Identity
,
IdentityScope
,
NdsIdentity
,
NdsIdentityScope
Methods inherited from class com.novell.java.security.Identity |
addCertificate,
equals,
getCertificates,
getInfo,
getName,
getPublicKey,
getScope,
hashCode,
removeCertificate,
setInfo,
setPublicKey,
toString |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ADMINISTRATIVE_DOMAIN_NAME
public static java.lang.String ADMINISTRATIVE_DOMAIN_NAME
- The administrative domain name.
BinderyIdentityScope
public BinderyIdentityScope()
- Construct the root-most identity scope with the
ADMINISTRATIVE_DOMAIN_NAME name.
BinderyIdentityScope
public BinderyIdentityScope(java.lang.String name)
- Construct an identity scope with the specified name and no scope.
- Parameters:
name
- The name of the identity.
BinderyIdentityScope
public BinderyIdentityScope(java.lang.String name,
IdentityScope scope)
throws KeyManagementException
- Construct an identity scope with the specified name and scope.
- Parameters:
name
- The name of the IdentityScope.scope
- The scope of the IdentityScope.- Throws:
- KeyManagementException - Thrown when an IdentityScope cannot be constructed due to
key management issues.
BinderyIdentityScope
public BinderyIdentityScope(IdentityScope identity)
throws KeyManagementException
- Construct an identity scope from a scope.
- Parameters:
scope
- The scope to copy.- Throws:
- KeyManagementException - Thrown when an IdentityScope cannot be constructed due to
key management issues.