Package org.springframework.security

Examples of org.springframework.security.ConfigAttributeEditor


    public void setAuthorizingRoles(String roles) {
        // The ConfigAttributeEditor is named incorrectly, so you can't use it
        // to automatically convert the string to a ConfigAttributeDefinition.
        // So, we do it manually :-(

        ConfigAttributeEditor editor = new ConfigAttributeEditor();
        editor.setAsText( roles );
        this.roles = (ConfigAttributeDefinition) editor.getValue();
        rolesString = roles;
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.ConfigAttributeEditor

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.