Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.security.authorization
Class PrivilegeHolderImpl

java.lang.Object
  extended by oracle.adf.share.security.authorization.PrivilegeHolderImpl
All Implemented Interfaces:
PrivilegeHolder
Direct Known Subclasses:
NullPrivilegeHolderImpl

public class PrivilegeHolderImpl
extends java.lang.Object
implements PrivilegeHolder


Constructor Summary
PrivilegeHolderImpl(boolean status)
           
PrivilegeHolderImpl(boolean status, java.lang.String reqAuthLevel, java.lang.String reqAuthType)
           
 
Method Summary
 java.lang.String getRequireAuthenticationLevel()
          Optional: This is called if multi level authentication is supported when hasPermission method return false.
 java.lang.String getRequireAuthenticationType()
          Optional: This is called if multi level authentication is supported when hasPermission method return false.
 boolean hasPermission()
          Retrieve the boolean value of privilege check.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivilegeHolderImpl

public PrivilegeHolderImpl(boolean status)

PrivilegeHolderImpl

public PrivilegeHolderImpl(boolean status,
                           java.lang.String reqAuthLevel,
                           java.lang.String reqAuthType)
Method Detail

hasPermission

public boolean hasPermission()
Description copied from interface: PrivilegeHolder
Retrieve the boolean value of privilege check.

Specified by:
hasPermission in interface PrivilegeHolder
Returns:
True if the current user has permisison for the privilege.

getRequireAuthenticationLevel

public java.lang.String getRequireAuthenticationLevel()
Description copied from interface: PrivilegeHolder
Optional: This is called if multi level authentication is supported when hasPermission method return false.

Specified by:
getRequireAuthenticationLevel in interface PrivilegeHolder
Returns:
the authentication level require for pivilege if user could re-authenticate at higher level.

getRequireAuthenticationType

public java.lang.String getRequireAuthenticationType()
Description copied from interface: PrivilegeHolder
Optional: This is called if multi level authentication is supported when hasPermission method return false.

Specified by:
getRequireAuthenticationType in interface PrivilegeHolder
Returns:
the authentication type require for pivilege if user could re-authenticate at higher level.

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.