| 
 | Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 | |||||||||
| 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
HttpServletResponse that can contain SSO provider specific status code, headers or cookies to initiate a particular SSO flow.ServiceInstanceVisitor for visitsServiceProviderVisitor for visitsActionExecutor allows applications to run any application logic within a user's platform security context and JDK AccessControlContext.HttpServletResponse.addCookie() to add the specified cookie to the response.HttpServletResponse.addHeader() to add a response header with the given name and value to the response.This 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.
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.
                  JpsApplicationRole myRole;
                  // Obtain an application policy for the desired application.
                  ApplicationPolicy ap ;
                  ....
                  String appRolename="myApplicationRole";
             
                  List <AppRoleEntry> appRoles = ap.searchAppRoles(appRoleName);
                  AppRoleEntry entry;
                  entry = appRoles.get(0);
                  myRole = entry.getApplicationRole();
             
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 | |||||||||
| 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