|
Final | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Principal | |
|---|---|
| java.security | |
| java.security.acl | |
| java.security.cert | |
| javax.security.auth.x500 | |
| Uses of Principal in java.security |
|---|
| Classes in java.security that implement Principal | |
class |
Identity
Deprecated. Use java.security.KeyStore, java.security.cert package, and java.security.Principal |
class |
IdentityScope
Deprecated. Use java.security.KeyStore, java.security.cert package, and java.security.Principal |
class |
Signer
Deprecated. Use java.security.KeyStore, java.security.cert package, and java.security.Principal |
| Methods in java.security that return Principal | |
Principal |
Certificate.getGuarantor()
Deprecated. Returns the guarantor of this certificate, i.e. the principal who guarantees that the public key corresponds to another principal. |
Principal |
Certificate.getPrincipal()
Deprecated. Returns the principal associated to the public key of this certificate. |
Principal[] |
ProtectionDomain.getPrincipals()
Returns the Principals associated with this ProtectionDomain. |
| Methods in java.security with parameters of type Principal | |
Identity |
IdentityScope.getIdentity(Principal principal)
Deprecated. Returns the identity of the given principal, or null if no such identity is found. |
| Constructors in java.security with parameters of type Principal | |
ProtectionDomain(CodeSource codesource,
PermissionCollection permissions,
ClassLoader classloader,
Principal[] principals)
Contructs a protection domain from the given code source and the permissions that that should be granted to the classes which are encapsulated in it. |
|
| Uses of Principal in java.security.acl |
|---|
| Subinterfaces of Principal in java.security.acl | |
interface |
Group
|
| Methods in java.security.acl that return Principal | |
Principal |
AclEntry.getPrincipal()
Answers the Principal for which permissions are granted or denied by the receiver. |
| Methods in java.security.acl with parameters of type Principal | |
boolean |
Owner.addOwner(Principal caller,
Principal owner)
Adds the specified owner to the receiver. |
boolean |
Owner.addOwner(Principal caller,
Principal owner)
Adds the specified owner to the receiver. |
boolean |
Owner.deleteOwner(Principal caller,
Principal owner)
Adds the specified owner to the receiver. |
boolean |
Owner.deleteOwner(Principal caller,
Principal owner)
Adds the specified owner to the receiver. |
boolean |
Owner.isOwner(Principal owner)
Answers whether the given principal is the owner of the ACL or not. |
boolean |
Group.addMember(Principal user)
Adds the specified principal to the receiver. |
boolean |
Group.isMember(Principal member)
Answers if the given pricipal is a member of the receiver |
boolean |
Group.removeMember(Principal user)
Removes the specified principal from the receiver. |
boolean |
AclEntry.setPrincipal(Principal user)
Sets the Principal for which permissions are granted or denied by the receiver. |
boolean |
Acl.addEntry(Principal caller,
AclEntry entry)
Adds an ACL entry to the receiver. |
boolean |
Acl.checkPermission(Principal principal,
Permission permission)
Answers if the specified Principal has the specified Permission or not. |
Enumeration |
Acl.getPermissions(Principal user)
Answers a collection of permissions for the specified principal. |
boolean |
Acl.removeEntry(Principal caller,
AclEntry entry)
Removes an ACL entry from the receiver. |
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL |
| Uses of Principal in java.security.cert |
|---|
| Methods in java.security.cert that return Principal | |
abstract Principal |
X509CRL.getIssuerDN()
Return the issuer distinguished name for the receiver. |
abstract Principal |
X509Certificate.getIssuerDN()
Return the issuer distinguished name for the receiver |
abstract Principal |
X509Certificate.getSubjectDN()
Return the subject distinguished name for the receiver |
| Uses of Principal in javax.security.auth.x500 |
|---|
| Classes in javax.security.auth.x500 that implement Principal | |
class |
X500Principal
This class represents X500's distinguished names. |
|
Final | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||