Class BaseSecurityService

  • All Implemented Interfaces:
    org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, SecurityService

    public class BaseSecurityService
    extends org.apache.avalon.framework.logger.AbstractLogEnabled
    implements SecurityService, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe
    This a basis implementation of the Fulcrum security service. Provided functionality includes:
    • methods for retrieving different types of managers.
    • avalon lifecyle managers.
    Version:
    $Id$
    Author:
    Eric PUgh
    • Field Detail

      • userManager

        protected UserManager userManager
        The instance of UserManager the SecurityService uses
      • roleManager

        protected RoleManager roleManager
        The instance of RoleManager the SecurityService uses
      • groupManager

        protected GroupManager groupManager
        The instance of GroupManager the SecurityService uses
      • permissionManager

        protected PermissionManager permissionManager
        The instance of PermissionManager the SecurityService uses
      • modelManager

        protected ModelManager modelManager
        The instance of ModelManager the SecurityService uses
    • Constructor Detail

      • BaseSecurityService

        public BaseSecurityService()
    • Method Detail

      • service

        public void service​(org.apache.avalon.framework.service.ServiceManager manager)
                     throws org.apache.avalon.framework.service.ServiceException
        Avalon Service lifecycle method
        Specified by:
        service in interface org.apache.avalon.framework.service.Serviceable
        Throws:
        org.apache.avalon.framework.service.ServiceException
      • initialize

        public void initialize()
                        throws Exception
        Avalon Service lifecycle method Initializes the SecurityService, locating the appropriate UserManager
        Specified by:
        initialize in interface org.apache.avalon.framework.activity.Initializable
        Throws:
        Exception - A Problem occurred while initializing the User Manager.
      • dispose

        public void dispose()
        Avalon Service lifecycle method