Package org.apache.jetspeed.security

Examples of org.apache.jetspeed.security.SecurityAttribute


   
    public void setSecurityAttributes(Map<String, SecurityAttribute> sa)
    {
        for (Map.Entry<String, SecurityAttribute> e : sa.entrySet())
        {
            SecurityAttribute attrib = e.getValue();
            JSNVPElement element = new JSNVPElement(attrib.getName(), attrib.getStringValue());
            element.setReadOnly(attrib.isReadOnly());
            element.setAttribute("datatype",attrib.getDataType().name());
            element.setAttribute("registered",Boolean.toString(attrib.isRegistered()));
            element.setAttribute("required",Boolean.toString(attrib.isRequired()));
            element.setAttribute("category",attrib.getCategory());
            secAttrs.add(element);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.security.SecurityAttribute

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.