Class ExtraRoles

  • All Implemented Interfaces:
    org.apache.commons.collections.Transformer, org.springframework.beans.factory.InitializingBean

    @Deprecated
    public class ExtraRoles
    extends Object
    implements org.apache.commons.collections.Transformer, org.springframework.beans.factory.InitializingBean
    Deprecated.
    Use org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator
    Adds the roles from extraRoles to the roles input into this transformer. The roles are added as strings so a subsequent transformer must convert them to GrantedAuthority instances.

    Transformer input: String instance, Collection of String instances, or array of String instances.

    Transformer output: Collection of String instances, or array of String instances.

    Author:
    mlowery
    • Constructor Detail

      • ExtraRoles

        public ExtraRoles()
        Deprecated.
    • Method Detail

      • transform

        public Object transform​(Object obj)
        Deprecated.
        Specified by:
        transform in interface org.apache.commons.collections.Transformer
      • getExtraRoles

        public Set getExtraRoles()
        Deprecated.
      • setExtraRoles

        public void setExtraRoles​(Set extraRoles)
        Deprecated.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Deprecated.
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception