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

E10686-07

oracle.adf.share.security.authorization
Interface PrivilegeHolder

All Known Implementing Classes:
NullPrivilegeHolderImpl, PrivilegeHolderImpl

public interface PrivilegeHolder


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.
 

Method Detail

hasPermission

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

Returns:
True if the current user has permisison for the privilege.

getRequireAuthenticationLevel

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

Returns:
the authentication level require for pivilege if user could re-authenticate at higher level.

getRequireAuthenticationType

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

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.6.0)

E10686-07

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