public class DefaultClaimHandler extends Object implements ClaimHandler
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_PROVIDER_SUBJECT_CLAIM_VALUE |
Constructor and Description |
---|
DefaultClaimHandler() |
Modifier and Type | Method and Description |
---|---|
static DefaultClaimHandler |
getInstance() |
protected String |
getStandardDialect(String clientType,
ApplicationConfig appConfig)
Returns the claim dialect URI based on the client type
|
Map<String,String> |
handleClaimMappings(StepConfig stepConfig,
AuthenticationContext context,
Map<String,String> remoteClaims,
boolean isFederatedClaims) |
protected Map<String,String> |
handleFederatedClaims(Map<String,String> remoteClaims,
String spStandardDialect,
StepConfig stepConfig,
AuthenticationContext context) |
protected Map<String,String> |
handleLocalClaims(String spStandardDialect,
StepConfig stepConfig,
AuthenticationContext context) |
public static final String SERVICE_PROVIDER_SUBJECT_CLAIM_VALUE
public static DefaultClaimHandler getInstance()
public Map<String,String> handleClaimMappings(StepConfig stepConfig, AuthenticationContext context, Map<String,String> remoteClaims, boolean isFederatedClaims) throws FrameworkException
handleClaimMappings
in interface ClaimHandler
FrameworkException
protected Map<String,String> handleFederatedClaims(Map<String,String> remoteClaims, String spStandardDialect, StepConfig stepConfig, AuthenticationContext context) throws FrameworkException
spStandardDialect
- remoteClaims
- stepConfig
- context
- FrameworkException
protected Map<String,String> handleLocalClaims(String spStandardDialect, StepConfig stepConfig, AuthenticationContext context) throws FrameworkException
context
- FrameworkException
protected String getStandardDialect(String clientType, ApplicationConfig appConfig)
clientType
- appConfig
- Copyright © 2016 WSO2. All rights reserved.