Class SecurityManagerImpl

java.lang.Object
ddf.security.service.impl.SecurityManagerImpl
All Implemented Interfaces:
ddf.security.service.SecurityManager

public class SecurityManagerImpl extends Object implements ddf.security.service.SecurityManager
  • Constructor Details

    • SecurityManagerImpl

      public SecurityManagerImpl(ddf.security.audit.SecurityLogger securityLogger)
      Creates a new security manager with the collection of given realms.
  • Method Details

    • setRealms

      public void setRealms(Collection<org.apache.shiro.realm.Realm> realms)
      Parameters:
      realms - The realms used for the backing authZ and authN operations.
    • getSubject

      public ddf.security.Subject getSubject(Object token) throws ddf.security.service.SecurityServiceException
      Specified by:
      getSubject in interface ddf.security.service.SecurityManager
      Throws:
      ddf.security.service.SecurityServiceException