Package ddf.security.service.impl
Class SecurityManagerImpl
java.lang.Object
ddf.security.service.impl.SecurityManagerImpl
- All Implemented Interfaces:
ddf.security.service.SecurityManager
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityManagerImpl(ddf.security.audit.SecurityLogger securityLogger) Creates a new security manager with the collection of given realms. -
Method Summary
Modifier and TypeMethodDescriptionddf.security.SubjectgetSubject(Object token) voidsetRealms(Collection<org.apache.shiro.realm.Realm> realms)
-
Constructor Details
-
SecurityManagerImpl
public SecurityManagerImpl(ddf.security.audit.SecurityLogger securityLogger) Creates a new security manager with the collection of given realms.
-
-
Method Details
-
setRealms
- 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:
getSubjectin interfaceddf.security.service.SecurityManager- Throws:
ddf.security.service.SecurityServiceException
-