Constructors
Name | Description |
---|---|
IdentityScope() | This constructor is used for serialization only and should not be used by subclasses. |
IdentityScope(String) | Constructs a new identity scope with the specified name. |
IdentityScope(String, IdentityScope) | Constructs a new identity scope with the specified name and scope. |
Methods
Name | Description |
---|---|
addIdentity(Identity) | Adds an identity to this identity scope. |
getIdentity(Principal) | Retrieves the identity whose name is the same as that of the specified principal. |
getIdentity(PublicKey) | Retrieves the identity with the specified public key. |
getIdentity(String) | Returns the identity in this scope with the specified name (if any). |
getSystemScope() | Returns the system's identity scope. |
identities() | Returns an enumeration of all identities in this identity scope. |
removeIdentity(Identity) | Removes an identity from this identity scope. |
setSystemScope(IdentityScope) | Sets the system's identity scope. |
size() | Returns the number of identities within this identity scope. |
toString() | Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope. |