public class STSPrincipalMappingProvider
extends org.jboss.security.mapping.providers.principal.AbstractPrincipalMappingProvider
This mapping provider looks at the NameID in the Assertion and returns a corresponding JBoss Principal for insertion into the Subject.
<application-policy name="saml-issue-token">
<authentication>
<login-module code="org.picketlink.identity.federation.core.wstrust.auth.STSIssuingLoginModule" flag="required">
<module-option name="configFile">/sts-client.properties</module-option>
<module-option name="password-stacking">useFirstPass</module-option>
</login-module>
</authentication>
<mapping>
<mapping-module code="org.picketlink.identity.federation.bindings.jboss.auth.mapping.STSPrincipalMappingProvider" type="principal"/>
<mapping-module code="org.picketlink.identity.federation.bindings.jboss.auth.mapping.STSGroupMappingProvider" type="role"/>
</mapping>
</application-policy>
Constructor and Description |
---|
STSPrincipalMappingProvider() |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,Object> contextMap) |
void |
performMapping(Map<String,Object> contextMap,
Principal principal) |
void |
setMappingResult(org.jboss.security.mapping.MappingResult<Principal> mappingResult) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.