Package ddf.security.service
Interface SecurityManager
public interface SecurityManager
Service that is used to perform security operations by endpoints. Currently allows them to
exchange a token for a subject.
-
Method Summary
Modifier and TypeMethodDescriptiongetSubject(Object token) Exchanges an authentication token for a subject.
-
Method Details
-
getSubject
Exchanges an authentication token for a subject. TheSubjectcontains a security assertion which can be used to obtain information about the current credentials.- Parameters:
token- An object containing information about the user that can be used to populate the subject.- Returns:
- the Subject corresponding to the provided security token
- Throws:
SecurityServiceException- if an error occurs during the authentication process
-