|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.security.authorization.PolicyStatement
public class PolicyStatement
Internal: Applications should not use this class. Represents an explicit grant in a security Policy. The following is an example of a Policy statement in jdk's default Policy file.
grant Principal com.foo.UserPrincipal "fred" { permission java.io.FilePermission "file:D:/sample/foo.txt", "read,write"; permission com.foo.CustomPermission "mySpreadSheet", "open,close"; };The above PolicyStatement represents granting of two permission to a Principal "fred"
Constructor Summary | |
---|---|
PolicyStatement(java.security.Principal grantee,
java.security.Permission permission)
Internal: Applications should not use this method. Constructs a PolicyStatement for a given Principal and permission. |
Method Summary | |
---|---|
java.security.Permission |
getPermission()
Internal: Applications should not use this method. Accessor for the Permissions assocated with this grantee |
java.security.Principal |
getPrincipal()
Internal: Applications should not use this method. Accessor for the Principal associated with this PolicyStatement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyStatement(java.security.Principal grantee, java.security.Permission permission)
grantee
- the Principal
associated with this PolicyStatement.permission
- the Permission
associated with this PolicyStatement.Method Detail |
---|
public java.security.Principal getPrincipal()
public java.security.Permission getPermission()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |