Class SubjectCNMapper
- java.lang.Object
-
- org.jboss.security.mapping.providers.principal.AbstractPrincipalMappingProvider
-
- org.jboss.security.mapping.providers.principal.SubjectCNMapper
-
- All Implemented Interfaces:
MappingProvider<Principal>
public class SubjectCNMapper extends AbstractPrincipalMappingProvider
A X500 Principal Mapper from a X509 Certificate that uses the client cert SubjectDN CN='...' element as the principal.- Since:
- Oct 5, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
- See Also:
SubjectCNMapping
-
-
Constructor Summary
Constructors Constructor Description SubjectCNMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,Object> opt)
Initialize the provider with the configured module optionsvoid
performMapping(Map<String,Object> contextMap, Principal principal)
Map the passed objectvoid
setMappingResult(MappingResult<Principal> res)
Injected by the MappingContext-
Methods inherited from class org.jboss.security.mapping.providers.principal.AbstractPrincipalMappingProvider
supports
-
-
-
-
Method Detail
-
init
public void init(Map<String,Object> opt)
Description copied from interface:MappingProvider
Initialize the provider with the configured module options
-
setMappingResult
public void setMappingResult(MappingResult<Principal> res)
Description copied from interface:MappingProvider
Injected by the MappingContext
-
performMapping
public void performMapping(Map<String,Object> contextMap, Principal principal)
Description copied from interface:MappingProvider
Map the passed object- Parameters:
contextMap
- A read-only contextual map that can provide information to the providerprincipal
- an Object on which the mapping will be applied
-
-