Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dataSecurity.util
Class FndPrivilegeHolder

java.lang.Object
  extended by oracle.apps.fnd.applcore.dataSecurity.util.FndPrivilegeHolder
All Implemented Interfaces:
oracle.adf.share.security.authorization.PrivilegeHolder

public class FndPrivilegeHolder
extends java.lang.Object
implements oracle.adf.share.security.authorization.PrivilegeHolder


Constructor Summary
FndPrivilegeHolder(boolean hasPermission, java.lang.String requireAuthenticationLevel, java.lang.String requireAuthenticationType)
           
 
Method Summary
 java.lang.String getRequireAuthenticationLevel()
          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

FndPrivilegeHolder

public FndPrivilegeHolder(boolean hasPermission,
                          java.lang.String requireAuthenticationLevel,
                          java.lang.String requireAuthenticationType)
Method Detail

hasPermission

public boolean hasPermission()
Retrieve the boolean value of privilege check.

Specified by:
hasPermission in interface oracle.adf.share.security.authorization.PrivilegeHolder
Returns:
True if the current user has permisison for the privilege.

getRequireAuthenticationLevel

public java.lang.String getRequireAuthenticationLevel()
This is called if multi level authentication is supported when hasPermission method return false.

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

getRequireAuthenticationType

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

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

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.