public interface OpenIdConnectTokenClaimMapper
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCustomClaims(SSOToken token,
Map<String,String> claimMap) |
Map<String,String> getCustomClaims(SSOToken token, Map<String,String> claimMap) throws TokenCreationException
token
- The SSOToken corresponding to the subject of the to-be-issued OpenIdConnect tokenclaimMap
- the claim mapping, as defined by the OpenIdConnectTokenConfig state associated with the published
sts instance. The map keys will be the claim names, and the LDAP datastore lookup of the attributes
provided by the map values will provide the value of the claim. Multiple attributes will be separated
by a space. If the LDAP lookup of the subject corresponding to the SSOToken of the attribute specified
in the map value does not return a result, the claim will not be inserted in the issued token.TokenCreationException
- if the attribute lookup failsCopyright © 2010-2018, ForgeRock All Rights Reserved.