public final class AzureAdUser extends Object implements org.springframework.security.core.userdetails.UserDetails
| Modifier and Type | Method and Description |
|---|---|
static AzureAdUser |
createFromActiveDirectoryUser(com.microsoft.azure.management.graphrbac.ActiveDirectoryUser activeDirectoryUser) |
static AzureAdUser |
createFromJwt(org.jose4j.jwt.JwtClaims claims) |
boolean |
equals(Object o) |
List<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getEmail() |
List<String> |
getGroupOIDs() |
String |
getName() |
String |
getObjectID() |
String |
getPassword() |
String |
getTenantID() |
String |
getUniqueName() |
String |
getUsername() |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
void |
setAuthorities(Collection<com.microsoft.azure.management.graphrbac.ActiveDirectoryGroup> groups) |
String |
toString() |
public static AzureAdUser createFromActiveDirectoryUser(com.microsoft.azure.management.graphrbac.ActiveDirectoryUser activeDirectoryUser)
public static AzureAdUser createFromJwt(org.jose4j.jwt.JwtClaims claims) throws org.jose4j.jwt.MalformedClaimException
org.jose4j.jwt.MalformedClaimExceptionpublic void setAuthorities(Collection<com.microsoft.azure.management.graphrbac.ActiveDirectoryGroup> groups)
public List<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailspublic String getUsername()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.springframework.security.core.userdetails.UserDetailspublic String getTenantID()
public String getObjectID()
public String getUniqueName()
public String getName()
public String getEmail()
Copyright © 2016–2021. All rights reserved.