Package org.pentaho.platform.plugin.services.security.userrole.memory

Examples of org.pentaho.platform.plugin.services.security.userrole.memory.UserRoleListEnhancedUserMapEditor


    assertTrue( authorities.indexOf( new GrantedAuthorityImpl( "ROLE_ONE" ) ) < authorities
        .indexOf( new GrantedAuthorityImpl( "ROLE_THREE" ) ) );
  }

  private UserRoleListEnhancedUserMap makeUserRoleListEnhancedUserMap() {
    UserRoleListEnhancedUserMapEditor editor = new UserRoleListEnhancedUserMapEditor();
    editor.setAsText( "marissa=koala,ROLE_ONE,ROLE_TWO,enabled\r\nscott=wombat,ROLE_ONE,ROLE_THREE,enabled" ); //$NON-NLS-1$
    return (UserRoleListEnhancedUserMap) editor.getValue();
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.plugin.services.security.userrole.memory.UserRoleListEnhancedUserMapEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.