Class JwtAuthentication

java.lang.Object
dk.acto.auth.client.JwtAuthentication
All Implemented Interfaces:
java.io.Serializable, java.security.Principal, org.springframework.security.core.Authentication, org.springframework.security.core.userdetails.UserDetails

public class JwtAuthentication
extends java.lang.Object
implements org.springframework.security.core.Authentication, org.springframework.security.core.userdetails.UserDetails
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    JwtAuthentication()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCredentials()  
    java.lang.String getMetaId()  
    java.lang.String getName()  
    java.lang.String getPassword()  
    java.security.Principal getPrincipal()  
    java.lang.String getUsername()  
    boolean hasMetaId()  
    boolean isAccountNonExpired()  
    boolean isAccountNonLocked()  
    boolean isAuthenticated()  
    boolean isCredentialsNonExpired()  
    boolean isEnabled()  
    void setAuthenticated​(boolean isAuthenticated)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.security.core.Authentication

    getAuthorities, getDetails

    Methods inherited from interface java.security.Principal

    equals, hashCode, implies, toString

    Methods inherited from interface org.springframework.security.core.userdetails.UserDetails

    getAuthorities
  • Constructor Details

  • Method Details

    • getCredentials

      public java.lang.String getCredentials()
      Specified by:
      getCredentials in interface org.springframework.security.core.Authentication
    • getPrincipal

      public java.security.Principal getPrincipal()
      Specified by:
      getPrincipal in interface org.springframework.security.core.Authentication
    • isAuthenticated

      public boolean isAuthenticated()
      Specified by:
      isAuthenticated in interface org.springframework.security.core.Authentication
    • setAuthenticated

      public void setAuthenticated​(boolean isAuthenticated)
      Specified by:
      setAuthenticated in interface org.springframework.security.core.Authentication
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface java.security.Principal
    • getPassword

      public java.lang.String getPassword()
      Specified by:
      getPassword in interface org.springframework.security.core.userdetails.UserDetails
    • getUsername

      public java.lang.String getUsername()
      Specified by:
      getUsername in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonExpired

      public boolean isAccountNonExpired()
      Specified by:
      isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonLocked

      public boolean isAccountNonLocked()
      Specified by:
      isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetails
    • isCredentialsNonExpired

      public boolean isCredentialsNonExpired()
      Specified by:
      isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.springframework.security.core.userdetails.UserDetails
    • getMetaId

      public java.lang.String getMetaId()
    • hasMetaId

      public boolean hasMetaId()