public class DefaultStepBasedSequenceHandler extends Object implements StepBasedSequenceHandler
Modifier and Type | Field and Description |
---|---|
static String |
USER_TENANT_DOMAIN |
Constructor and Description |
---|
DefaultStepBasedSequenceHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
getIdpRoleClaimUri(ExternalIdPConfig externalIdPConfig) |
static DefaultStepBasedSequenceHandler |
getInstance() |
protected List<String> |
getLocallyMappedUserRoles(SequenceConfig sequenceConfig,
ExternalIdPConfig externalIdPConfig,
Map<String,String> extAttributesValueMap,
String idpRoleClaimUri) |
protected String |
getServiceProviderMappedUserRoles(SequenceConfig sequenceConfig,
List<String> locallyMappedUserRoles) |
protected String |
getSpRoleClaimUri(ApplicationConfig appConfig) |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationContext context)
Executes the steps
|
protected Map<String,String> |
handleClaimMappings(StepConfig stepConfig,
AuthenticationContext context,
Map<String,String> extAttrs,
boolean isFederatedClaims) |
protected void |
handleJitProvisioning(String subjectIdentifier,
AuthenticationContext context,
List<String> mappedRoles,
Map<String,String> extAttributesValueMap) |
protected void |
handlePostAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationContext context) |
protected void |
resetAuthenticationContext(AuthenticationContext context) |
public static final String USER_TENANT_DOMAIN
public static DefaultStepBasedSequenceHandler getInstance()
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationContext context) throws FrameworkException
handle
in interface SequenceHandler
request
- response
- FrameworkException
FrameworkException
protected void handlePostAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationContext context) throws FrameworkException
FrameworkException
protected String getServiceProviderMappedUserRoles(SequenceConfig sequenceConfig, List<String> locallyMappedUserRoles) throws FrameworkException
sequenceConfig
- locallyMappedUserRoles
- FrameworkException
protected String getSpRoleClaimUri(ApplicationConfig appConfig) throws FrameworkException
appConfig
- FrameworkException
protected String getIdpRoleClaimUri(ExternalIdPConfig externalIdPConfig) throws FrameworkException
externalIdPConfig
- FrameworkException
protected List<String> getLocallyMappedUserRoles(SequenceConfig sequenceConfig, ExternalIdPConfig externalIdPConfig, Map<String,String> extAttributesValueMap, String idpRoleClaimUri) throws FrameworkException
sequenceConfig
- externalIdPConfig
- extAttributesValueMap
- FrameworkException
protected Map<String,String> handleClaimMappings(StepConfig stepConfig, AuthenticationContext context, Map<String,String> extAttrs, boolean isFederatedClaims) throws FrameworkException
stepConfig
- context
- extAttrs
- isFederatedClaims
- FrameworkException
protected void handleJitProvisioning(String subjectIdentifier, AuthenticationContext context, List<String> mappedRoles, Map<String,String> extAttributesValueMap) throws FrameworkException
context
- mappedRoles
- extAttributesValueMap
- FrameworkException
protected void resetAuthenticationContext(AuthenticationContext context) throws FrameworkException
FrameworkException
Copyright © 2016 WSO2. All rights reserved.