Interface IAuthorisationManager


public interface IAuthorisationManager
Interface for authorisation.
Since:
8.0
Author:
Danny Roest
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The key which identifies an anonymous user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the current authorisation, e.g no user is logged in.
    void
    This methods creates an anonymous user if this is required for the current authorisation method.
    com.aquima.interactions.project.IUserData
    This method creates user data for the current user containing the roles of the current user.
  • Field Details

  • Method Details

    • getUserData

      com.aquima.interactions.project.IUserData getUserData()
      This method creates user data for the current user containing the roles of the current user. This method returns null, when the current user is not authenticated or authorized.
      Returns:
      the IUserdata (with the roles) for the current user, or null when the user is not authorized.
    • createAnonymousUser

      void createAnonymousUser()
      This methods creates an anonymous user if this is required for the current authorisation method.
    • clearAuthorisation

      void clearAuthorisation()
      Clears the current authorisation, e.g no user is logged in.