Package com.adito.security

Examples of com.adito.security.UserDatabase.deleteRole()


        SessionInfo info = this.getSessionInfo(request);
        try {
            // Revoke all polices from the user
            PolicyDatabaseFactory.getInstance().revokeAllPoliciesFromPrincipal(role);
           
        udb.deleteRole(rolename);
        CoreServlet.getServlet().fireCoreEvent(
                new CoreEvent(this, CoreEventConstants.GROUP_REMOVED, role, info)
                    .addAttribute(CoreAttributeConstants.EVENT_ATTR_PRINCIPAL_ID, rolename));
        return mapping.findForward("refresh");
      } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.