Package org.infinispan.security.mappers

Class CommonNameRoleMapper

  • All Implemented Interfaces:
    PrincipalRoleMapper

    public class CommonNameRoleMapper
    extends Object
    implements PrincipalRoleMapper
    CommonNameRoleMapper. A simple mapper which extracts the Common Name (CN) from an LDAP-style Distinguished Name (DN) and returns it as the role.
    Since:
    7.0
    Author:
    Tristan Tarrant
    Public API