Class AuthorizationManagerImpl

  • All Implemented Interfaces:
    step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>

    public class AuthorizationManagerImpl
    extends Object
    implements step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>
    • Constructor Detail

      • AuthorizationManagerImpl

        public AuthorizationManagerImpl​(step.core.access.RoleProvider roleProvider,
                                        step.core.access.RoleResolver roleResolver)
    • Method Detail

      • setRoleResolver

        public void setRoleResolver​(step.core.access.RoleResolver roleResolver)
        Specified by:
        setRoleResolver in interface step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>
      • checkRightInContext

        public boolean checkRightInContext​(step.framework.server.Session session,
                                           String right)
        Specified by:
        checkRightInContext in interface step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>
      • checkRightInRole

        public boolean checkRightInRole​(String roleName,
                                        String right)
        Specified by:
        checkRightInRole in interface step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>
      • getRoleInContext

        public step.core.access.Role getRoleInContext​(step.framework.server.Session session)
        Specified by:
        getRoleInContext in interface step.framework.server.access.AuthorizationManager<step.core.access.User,​step.framework.server.Session<step.core.access.User>>