Package com.microsoft.jenkins.azuread
Class AzureAuthenticationToken
java.lang.Object
com.microsoft.jenkins.azuread.AzureAuthenticationToken
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
public class AzureAuthenticationToken
extends Object
implements org.springframework.security.core.Authentication
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority>
getName()
boolean
void
setAuthenticated
(boolean isAuthenticated) toString()
-
Constructor Details
-
AzureAuthenticationToken
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthorities
in interfaceorg.springframework.security.core.Authentication
-
getCredentials
- Specified by:
getCredentials
in interfaceorg.springframework.security.core.Authentication
-
getDetails
- Specified by:
getDetails
in interfaceorg.springframework.security.core.Authentication
-
getPrincipal
- Specified by:
getPrincipal
in interfaceorg.springframework.security.core.Authentication
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticated
in interfaceorg.springframework.security.core.Authentication
-
setAuthenticated
- Specified by:
setAuthenticated
in interfaceorg.springframework.security.core.Authentication
- Throws:
IllegalArgumentException
-
getName
-
getAzureAdUser
-
toString
-