Interface IAuthorisationManager
public interface IAuthorisationManager
Interface for authorisation.
- Since:
- 8.0
- Author:
- Danny Roest
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the current authorisation, e.g no user is logged in.voidThis methods creates an anonymous user if this is required for the current authorisation method.com.aquima.interactions.project.IUserDataThis method creates user data for the current user containing the roles of the current user.
-
Field Details
-
ANONYMOUS_KEY
-
-
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.
-