Class MidPointUserProfilePrincipal
- java.lang.Object
-
- com.evolveum.midpoint.security.api.MidPointPrincipal
-
- com.evolveum.midpoint.model.api.authentication.MidPointUserProfilePrincipal
-
- All Implemented Interfaces:
DebugDumpable
,ShortDumpable
,Serializable
,org.springframework.security.core.userdetails.UserDetails
public class MidPointUserProfilePrincipal extends com.evolveum.midpoint.security.api.MidPointPrincipal
Principal that extends simple MidPointPrincipal with user interface concepts (user profile).- Since:
- 4.0
- Author:
- Radovan Semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description MidPointUserProfilePrincipal(UserType user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MidPointUserProfilePrincipal
clone()
Semi-shallow clone.protected void
copyValues(MidPointUserProfilePrincipal clone)
protected void
debugDumpInternal(StringBuilder sb, int indent)
boolean
equals(Object obj)
int
getActiveSessions()
CompiledUserProfile
getCompiledUserProfile()
int
hashCode()
void
setActiveSessions(int activeSessions)
void
setCompiledUserProfile(CompiledUserProfile compiledUserProfile)
-
Methods inherited from class com.evolveum.midpoint.security.api.MidPointPrincipal
addDelegatorWithOtherPrivilegesLimitations, copyValues, debugDump, getApplicableSecurityPolicy, getAttorney, getAuthorities, getDelegatorWithOtherPrivilegesLimitationsCollection, getFamilyName, getFullName, getGivenName, getName, getOid, getPassword, getPreviousPrincipal, getUser, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, setApplicableSecurityPolicy, setAttorney, setPreviousPrincipal, shortDump, toObjectReference, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Constructor Detail
-
MidPointUserProfilePrincipal
public MidPointUserProfilePrincipal(@NotNull UserType user)
-
-
Method Detail
-
getCompiledUserProfile
@NotNull public CompiledUserProfile getCompiledUserProfile()
-
setCompiledUserProfile
public void setCompiledUserProfile(CompiledUserProfile compiledUserProfile)
-
clone
public MidPointUserProfilePrincipal clone()
Semi-shallow clone.- Overrides:
clone
in classcom.evolveum.midpoint.security.api.MidPointPrincipal
-
copyValues
protected void copyValues(MidPointUserProfilePrincipal clone)
-
debugDumpInternal
protected void debugDumpInternal(StringBuilder sb, int indent)
- Overrides:
debugDumpInternal
in classcom.evolveum.midpoint.security.api.MidPointPrincipal
-
setActiveSessions
public void setActiveSessions(int activeSessions)
-
getActiveSessions
public int getActiveSessions()
-
-