Package org.jasig.portal.security

Examples of org.jasig.portal.security.IAuthorizationService


                userLayoutDocument = layoutStore.getUserLayout(this.owner,this.profile);

                // DistributedLayoutManager shall gracefully remove channels
                // that the user isn't authorized to render from folders of type
                // 'header' and 'footer'.
                IAuthorizationService authServ = AuthorizationImpl.singleton();
                IAuthorizationPrincipal principal = authServ.newPrincipal(owner.getUserName(), IPerson.class);
                NodeList nodes = userLayoutDocument.getElementsByTagName("folder");
                for (int i=0; i < nodes.getLength(); i++) {
                  Element fd = (Element) nodes.item(i);
                  String type = fd.getAttribute("type");
                  if (type != null && (type.equals("header") || type.equals("footer"))) {
View Full Code Here

TOP

Related Classes of org.jasig.portal.security.IAuthorizationService

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.