Package be.c4j.ee.security.role

Examples of be.c4j.ee.security.role.NamedApplicationRole


        if (violatedPermission instanceof NamedDomainPermission) {
            NamedDomainPermission namedPermission = (NamedDomainPermission) violatedPermission;
            permissionInfo = "Permission " + namedPermission.getName();
        }
        if (violatedPermission instanceof NamedApplicationRole) {
            NamedApplicationRole namedRole = (NamedApplicationRole) violatedPermission;
            permissionInfo = "Role " + namedRole.getRoleName();
        }
        return new BasicAuthorizationViolation(permissionInfo, getExceptionPointInfo(invocationContext));
    }
View Full Code Here

TOP

Related Classes of be.c4j.ee.security.role.NamedApplicationRole

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.