Class SimpleMappableAttributesRetriever

  • All Implemented Interfaces:
    MappableAttributesRetriever

    public class SimpleMappableAttributesRetriever
    extends java.lang.Object
    implements MappableAttributesRetriever
    This class implements the MappableAttributesRetriever interface by just returning a list of mappable attributes as previously set using the corresponding setter method.
    Since:
    2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getMappableAttributes()
      Implementations of this method should return a set of all string attributes which can be mapped to GrantedAuthoritys.
      void setMappableAttributes​(java.util.Set<java.lang.String> aMappableRoles)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleMappableAttributesRetriever

        public SimpleMappableAttributesRetriever()
    • Method Detail

      • getMappableAttributes

        public java.util.Set<java.lang.String> getMappableAttributes()
        Description copied from interface: MappableAttributesRetriever
        Implementations of this method should return a set of all string attributes which can be mapped to GrantedAuthoritys.
        Specified by:
        getMappableAttributes in interface MappableAttributesRetriever
        Returns:
        set of all mappable roles
      • setMappableAttributes

        public void setMappableAttributes​(java.util.Set<java.lang.String> aMappableRoles)