Package be.c4j.ee.security.realm

Examples of be.c4j.ee.security.realm.AuthorizationInfoBuilder



    @Override
    public AuthorizationInfo getAuthorizationInfo(PrincipalCollection principals) {

        AuthorizationInfoBuilder builder = new AuthorizationInfoBuilder();
        builder.addPermissions(permissionService.getPermissionsForPrincipal((UserPrincipal) principals.getPrimaryPrincipal()));

        return builder.build();
    }
View Full Code Here

TOP

Related Classes of be.c4j.ee.security.realm.AuthorizationInfoBuilder

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.