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 Type
    Method
    Description
    Exchanges an authentication token for a subject.
  • Method Details

    • getSubject

      Subject getSubject(Object token) throws SecurityServiceException
      Exchanges an authentication token for a subject. The Subject contains 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