Class SimplePrincipalMappingProvider

  • All Implemented Interfaces:
    MappingProvider<Principal>

    public class SimplePrincipalMappingProvider
    extends AbstractPrincipalMappingProvider
    A principal mapping provider that takes in a SimplePrincipal and converts into a SimplePrincipal with a different principal name
    Since:
    Feb 5, 2010
    Author:
    Anil.Saldhana@redhat.com
    • Constructor Detail

      • SimplePrincipalMappingProvider

        public SimplePrincipalMappingProvider()
    • Method Detail

      • init

        public void init​(Map<String,​Object> options)
        Description copied from interface: MappingProvider
        Initialize the provider with the configured module options
      • performMapping

        public void performMapping​(Map<String,​Object> map,
                                   Principal mappedObject)
        Description copied from interface: MappingProvider
        Map the passed object
        Parameters:
        map - A read-only contextual map that can provide information to the provider
        mappedObject - an Object on which the mapping will be applied