Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.servlet.security
Class CSSServletSecurityServices.CSSApplicationServices

java.lang.Object
  extended by weblogic.servlet.security.CSSServletSecurityServices.CSSApplicationServices
All Implemented Interfaces:
weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Enclosing class:
CSSServletSecurityServices

public class CSSServletSecurityServices.CSSApplicationServices
extends Object
implements weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices


Method Summary
 weblogic.servlet.spi.SubjectHandle assertIdentity(String tokenType, Object token, HttpServletRequest request, HttpServletResponse response)
           
 weblogic.servlet.spi.SubjectHandle authenticate(CallbackHandler handler)
           
 weblogic.servlet.spi.SubjectHandle authenticate(CallbackHandler handler, HttpServletRequest request, HttpServletResponse response)
           
 void deployExcludedPolicy(String resourceId, String method, String appId, String contextPath)
           
 void deployPolicy(String resourceId, String method, String[] roles, String appId, String contextPath)
           
 void deployRole(String roleName, String[] mappings, String appId, String contextPath)
           
 void deployUncheckedPolicy(String resourceId, String method, String appId, String contextPath)
           
 void destroyServletAuthenticationFilters(Filter[] filters)
           
 boolean doesTokenRequireBase64Decoding(Object token)
           
 boolean doesTokenTypeRequireBase64Decoding(String tokenType)
           
 void endRoleAndPolicyDeployments()
           
 Map getAssertionsEncodingMap()
           
 int getRoleMappingBehavior()
           
 String getSecurityModelType()
           
 Filter[] getServletAuthenticationFilters(ServletContext ctx)
           
 boolean hasPermission(String requestMethodType, String relativeRequestPath, String appId, String contextPath, weblogic.servlet.spi.SubjectHandle subject, HttpServletRequest request, HttpServletResponse response)
           
 weblogic.servlet.spi.SubjectHandle impersonateIdentity(String user, HttpServletRequest request, HttpServletResponse response)
           
 boolean isFullDelegation()
           
 boolean isSubjectInRole(String roleName, weblogic.servlet.spi.SubjectHandle subject, String appId, String contextPath, HttpServletRequest request, HttpServletResponse response)
           
 void startDeployment()
           
 void undeployAllPolicies()
           
 void undeployAllRoles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRoleMappingBehavior

public int getRoleMappingBehavior()
Specified by:
getRoleMappingBehavior in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

getSecurityModelType

public String getSecurityModelType()
Specified by:
getSecurityModelType in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

isFullDelegation

public boolean isFullDelegation()
Specified by:
isFullDelegation in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

destroyServletAuthenticationFilters

public void destroyServletAuthenticationFilters(Filter[] filters)
Specified by:
destroyServletAuthenticationFilters in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

getServletAuthenticationFilters

public Filter[] getServletAuthenticationFilters(ServletContext ctx)
                                         throws DeploymentException
Specified by:
getServletAuthenticationFilters in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

getAssertionsEncodingMap

public Map getAssertionsEncodingMap()
Specified by:
getAssertionsEncodingMap in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

doesTokenTypeRequireBase64Decoding

public boolean doesTokenTypeRequireBase64Decoding(String tokenType)
Specified by:
doesTokenTypeRequireBase64Decoding in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

doesTokenRequireBase64Decoding

public boolean doesTokenRequireBase64Decoding(Object token)
Specified by:
doesTokenRequireBase64Decoding in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

startDeployment

public void startDeployment()
                     throws DeploymentException
Specified by:
startDeployment in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

endRoleAndPolicyDeployments

public void endRoleAndPolicyDeployments()
                                 throws DeploymentException
Specified by:
endRoleAndPolicyDeployments in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

deployRole

public void deployRole(String roleName,
                       String[] mappings,
                       String appId,
                       String contextPath)
                throws DeploymentException
Specified by:
deployRole in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

undeployAllPolicies

public void undeployAllPolicies()
                         throws DeploymentException
Specified by:
undeployAllPolicies in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

undeployAllRoles

public void undeployAllRoles()
                      throws DeploymentException
Specified by:
undeployAllRoles in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

isSubjectInRole

public boolean isSubjectInRole(String roleName,
                               weblogic.servlet.spi.SubjectHandle subject,
                               String appId,
                               String contextPath,
                               HttpServletRequest request,
                               HttpServletResponse response)
Specified by:
isSubjectInRole in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

hasPermission

public boolean hasPermission(String requestMethodType,
                             String relativeRequestPath,
                             String appId,
                             String contextPath,
                             weblogic.servlet.spi.SubjectHandle subject,
                             HttpServletRequest request,
                             HttpServletResponse response)
Specified by:
hasPermission in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices

deployUncheckedPolicy

public void deployUncheckedPolicy(String resourceId,
                                  String method,
                                  String appId,
                                  String contextPath)
                           throws DeploymentException
Specified by:
deployUncheckedPolicy in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

deployExcludedPolicy

public void deployExcludedPolicy(String resourceId,
                                 String method,
                                 String appId,
                                 String contextPath)
                          throws DeploymentException
Specified by:
deployExcludedPolicy in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

deployPolicy

public void deployPolicy(String resourceId,
                         String method,
                         String[] roles,
                         String appId,
                         String contextPath)
                  throws DeploymentException
Specified by:
deployPolicy in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
DeploymentException

assertIdentity

public weblogic.servlet.spi.SubjectHandle assertIdentity(String tokenType,
                                                         Object token,
                                                         HttpServletRequest request,
                                                         HttpServletResponse response)
                                                  throws LoginException
Specified by:
assertIdentity in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
LoginException

authenticate

public weblogic.servlet.spi.SubjectHandle authenticate(CallbackHandler handler,
                                                       HttpServletRequest request,
                                                       HttpServletResponse response)
                                                throws LoginException
Specified by:
authenticate in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
LoginException

authenticate

public weblogic.servlet.spi.SubjectHandle authenticate(CallbackHandler handler)
                                                throws LoginException
Specified by:
authenticate in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
LoginException

impersonateIdentity

public weblogic.servlet.spi.SubjectHandle impersonateIdentity(String user,
                                                              HttpServletRequest request,
                                                              HttpServletResponse response)
                                                       throws LoginException
Specified by:
impersonateIdentity in interface weblogic.servlet.security.internal.ServletSecurityServices.ApplicationServices
Throws:
LoginException

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02