public class MidPointPrincipal extends Object implements org.springframework.security.core.userdetails.UserDetails, Dumpable, DebugDumpable
INDENT_STRING
Constructor and Description |
---|
MidPointPrincipal(UserType user) |
Modifier and Type | Method and Description |
---|---|
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
String |
dump()
Show the content of the object intended for diagnostics by developer.
|
Collection<Authorization> |
getAuthorities() |
String |
getFamilyName() |
String |
getFullName() |
String |
getGivenName() |
PolyStringType |
getName() |
String |
getOid() |
String |
getPassword() |
UserType |
getUser() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
String |
toString() |
public MidPointPrincipal(UserType user)
public Collection<Authorization> getAuthorities()
getAuthorities
in interface org.springframework.security.core.userdetails.UserDetails
public String getPassword()
getPassword
in interface org.springframework.security.core.userdetails.UserDetails
public String getUsername()
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isAccountNonExpired()
isAccountNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isEnabled()
isEnabled
in interface org.springframework.security.core.userdetails.UserDetails
public UserType getUser()
public PolyStringType getName()
public String getFamilyName()
public String getFullName()
public String getGivenName()
public String getOid()
public String dump()
Dumpable
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
Copyright © 2013 evolveum. All rights reserved.