java.lang.Object
fr.paris.lutece.portal.business.user.AdminUser
fr.paris.lutece.plugins.adminauthenticationoauth2.business.authentication.AdminOauth2User
All Implemented Interfaces:
fr.paris.lutece.api.user.User, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, Serializable

public class AdminOauth2User extends fr.paris.lutece.portal.business.user.AdminUser
Admin user implementation for database authentication module
See Also:
  • Field Summary

    Fields inherited from class fr.paris.lutece.portal.business.user.AdminUser

    ACTIVE_CODE, ANONYMIZED_CODE, EXPIRED_CODE, NOT_ACTIVE_CODE, RESOURCE_TYPE, USER_REALM
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdminOauth2User(String strUserName, fr.paris.lutece.plugins.oauth2.business.Token token, fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.plugins.oauth2.business.Token
    Gets the token.
    void
    setToken(fr.paris.lutece.plugins.oauth2.business.Token token)
    Sets the token.

    Methods inherited from class fr.paris.lutece.portal.business.user.AdminUser

    addRoles, checkRight, getAccessCode, getAccessibilityMode, getAccountMaxValidDate, getAuthenticationService, getAuthenticationType, getDateLastLogin, getDefaultDateLastLogin, getEmail, getFirstName, getLastName, getLocale, getPasswordMaxValidDate, getRealm, getRealStatus, getRights, getRoles, getStatus, getUserId, getUserInfo, getUserLevel, getUserRoles, getUserWorkgroups, getWorkgroup, getWorkgroupKey, hasRights, init, isAdmin, isInRole, isParent, isPasswordReset, isStatusActive, isStatusAnonymized, setAccessCode, setAccessibilityMode, setAccountMaxValidDate, setAuthenticationService, setAuthenticationType, setDateLastLogin, setEmail, setFirstName, setLastName, setLocale, setPasswordMaxValidDate, setPasswordReset, setRights, setRoles, setStatus, setUserId, setUserInfo, setUserLevel, setUserWorkgroups, setWorkgroupKey, updateRight

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdminOauth2User

      public AdminOauth2User(String strUserName, fr.paris.lutece.plugins.oauth2.business.Token token, fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
      Parameters:
      strUserName - : the user name
      authenticationService - : the authentication service
  • Method Details

    • getToken

      public fr.paris.lutece.plugins.oauth2.business.Token getToken()
      Gets the token.
      Returns:
      the token
    • setToken

      public void setToken(fr.paris.lutece.plugins.oauth2.business.Token token)
      Sets the token.
      Parameters:
      token - the new token