| java.lang.Object biz.hammurapi.authorization.AuthorizationManager
AuthorizationManager | public class AuthorizationManager (Code) | | "Hub" class for authorization checks.
author: Pavel Vlasov |
checkInstancePermission | public static void checkInstancePermission(Object subject, String action) throws AccessControlException(Code) | | Authorization provider determines permission type from subject.
Parameters: subject - Parameters: action - |
getPermissions | public static Collection getPermissions()(Code) | | Collection of permissions |
hasClassPermission | public static boolean hasClassPermission(Class clazz, String action)(Code) | | |
hasClassPermission | public static boolean hasClassPermission(String className, String action)(Code) | | Authorization provider determines permission type from className.
This method is to be used from XSL stylesheets.
Parameters: subject - Parameters: action - |
hasInstancePermission | public static boolean hasInstancePermission(Node subjectNode, String className, String action)(Code) | | Authorization provider determines permission type from Node where
subject was serialized to.
This method is to be used from XSL stylesheets.
Parameters: subject - Parameters: action - |
hasObjectPermission | public static boolean hasObjectPermission(Object subject, String action)(Code) | | Authorization provider determines permission type from subject type
Parameters: subject - Parameters: action - |
isUserInRole | public static boolean isUserInRole(String role)(Code) | | |
|
|