oracle.adf.share.security.authorization
Class Grantee

java.lang.Object
oracle.adf.share.security.authorization.Grantee

public class Grantee

extends java.lang.Object

Internal:Applications should not use this class.
Represents a grantee in a policy statement. For example
in the following grant in the default jdk policy,
the Grantee represents a combination of the Principal and
the codebase:

Either codebase and/or Grantee can be null in which case the Grantee
will represent a global entity.

Constructor Summary

Grantee()Internal:Applications should not use this method.
Default constructor.

Grantee(java.security.Principal principal)Internal:Applications should not use this method.
Constructs a grantee that refers to a specific
user (Principal) but applicable for all codesources.

Grantee(java.security.Principal principal,
java.security.CodeSource codesource)Internal:Applications should not use this method.
Constructs a grantee that refers to a specific codesource and Principal.

Method Summary

boolean

equals(java.lang.Object obj)Internal:Applications should not use this method.
Compares two grantees.

java.security.CodeSource

getCodeSource()Internal:Applications should not use this method.
Accessor for the codesource associated with this grantee.

java.security.Principal

getPrincipal()Internal:Applications should not use this method.
Accessor for the Principal associated with this grantee.

protected void

setCodeSource(java.security.CodeSource codesource)Internal:Applications should not use this method.
Modifier for the codesource associated with this grantee.

protected void

setPrincipal(java.security.Principal principal)Internal:Applications should not use this method.
Modifier for the user associated with this grantee.