|
Oracle Fusion Middleware Oracle Platform Security Services API Reference 11g Release 1 (11.1.1) E14650-01 |
|||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
A B C D E F G H I J K L M N O P Q R S T U V W X
ServiceInstanceVisitor
for visitsServiceProviderVisitor
for visitsThis class will be removed from the JPS public APIs. Customers are advised to modify their code to in order to obtain a reference to an ApplicationRole. <p/> <p/> Instead of instantiating an ApplicationRole
, query the ApplicationPolicy
for the desired JpsApplicationRole
. Use the resulting Principal
as a parameter for methods such as
ApplicationPolicy.grant(Principal[], CodeSource, Permission[])
ApplicationPolicy.revoke(Principal[], CodeSource, Permission[])
To query the desired JpsApplicationRole
, refer to the code snippet below. <p/>
JpsApplicationRole myRole; // Obtain an application policy for the desired application. ApplicationPolicy ap ; .... String appRolename="myApplicationRole"; <p/> List <AppRoleEntry> appRoles = ap.searchAppRoles(appRoleName); AppRoleEntry entry; entry = appRoles.get(0); myRole = entry.getApplicationRole();
|
Oracle Fusion Middleware Oracle Platform Security Services API Reference 11g Release 1 (11.1.1) E14650-01 |
|||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
A B C D E F G H I J K L M N O P Q R S T U V W X