Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.security.Principal

Packages that use Principal
java.security | Provides the classes and interfaces for the security framework.
java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package.
java.security.cert | Provides classes and interfaces for parsing and managing certificates.

Uses of Principal in java.security

Classes in java.security that implement Principal
`class` | `Identity` Deprecated. This class is no longer used. Its functionality has been replaced by `java.security.KeyStore`, the `java.security.cert` package, and `java.security.Principal`.
`class` | `IdentityScope` Deprecated. This class is no longer used. Its functionality has been replaced by `java.security.KeyStore`, the `java.security.cert` package, and `java.security.Principal`.
`class` | `Signer` Deprecated. This class is no longer used. Its functionality has been replaced by `java.security.KeyStore`, the `java.security.cert` package, and `java.security.Principal`.

Methods in java.security that return Principal
`Principal` | `Certificate.getGuarantor()` Deprecated. Returns the guarantor of the certificate, that is, the principal guaranteeing that the public key associated with this certificate is that of the principal associated with this certificate.
`Principal` | `Certificate.getPrincipal()` Deprecated. Returns the principal of the principal-key pair being guaranteed by the guarantor.

Methods in java.security with parameters of type Principal
`Identity` | `IdentityScope.getIdentity(Principal principal)` Deprecated. Retrieves the identity whose name is the same as that of the specified principal.

Uses of Principal in java.security.acl

Subinterfaces of Principal in java.security.acl
`interface` | `Group` This interface is used to represent a group of principals.

Methods in java.security.acl that return Principal
`Principal` | `AclEntry.getPrincipal()` Returns the principal for which permissions are granted or denied by this ACL entry.

Methods in java.security.acl with parameters of type Principal
`boolean` | `AclEntry.setPrincipal(Principal user)` Specifies the principal for which permissions are granted or denied by this ACL entry.
`boolean` | `Group.addMember(Principal user)` Adds the specified member to the group.
`boolean` | `Group.removeMember(Principal user)` Removes the specified member from the group.
`boolean` | `Group.isMember(Principal member)` Returns true if the passed principal is a member of the group.
`boolean` | `Owner.addOwner(Principal caller, Principal owner)` Adds an owner.
`boolean` | `Owner.deleteOwner(Principal caller, Principal owner)` Deletes an owner.
`boolean` | `Owner.isOwner(Principal owner)` Returns true if the given principal is an owner of the ACL.
`void` | `Acl.setName(Principal caller, String name)` Sets the name of this ACL.
`boolean` | `Acl.addEntry(Principal caller, AclEntry entry)` Adds an ACL entry to this ACL.
`boolean` | `Acl.removeEntry(Principal caller, AclEntry entry)` Removes an ACL entry from this ACL.
`Enumeration` | `Acl.getPermissions(Principal user)` Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).
`boolean` | `Acl.checkPermission(Principal principal, Permission permission)` Checks whether or not the specified principal has the specified permission.

Uses of Principal in java.security.cert

Methods in java.security.cert that return Principal
`abstract Principal` | `X509Certificate.getIssuerDN()` Gets the `issuer` (issuer distinguished name) value from the certificate.
`abstract Principal` | `X509Certificate.getSubjectDN()` Gets the `subject` (subject distinguished name) value from the certificate.
`abstract Principal` | `X509CRL.getIssuerDN()` Gets the `issuer` (issuer distinguished name) value from the CRL.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.