Class GuiProfiledPrincipal
- java.lang.Object
-
- com.evolveum.midpoint.security.api.MidPointPrincipal
-
- com.evolveum.midpoint.model.api.authentication.GuiProfiledPrincipal
-
- All Implemented Interfaces:
DebugDumpable
,ShortDumpable
,Serializable
,org.springframework.security.core.userdetails.UserDetails
public class GuiProfiledPrincipal extends 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 GuiProfiledPrincipal(@NotNull FocusType user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuiProfiledPrincipal
clone()
Semi-shallow clone.protected void
copyValues(GuiProfiledPrincipal clone)
protected void
debugDumpInternal(StringBuilder sb, int indent)
boolean
equals(Object obj)
int
getActiveSessions()
@NotNull CompiledGuiProfile
getCompiledGuiProfile()
int
hashCode()
void
setActiveSessions(int activeSessions)
void
setCompiledGuiProfile(CompiledGuiProfile compiledGuiProfile)
-
Methods inherited from class com.evolveum.midpoint.security.api.MidPointPrincipal
addDelegatorWithOtherPrivilegesLimitations, copyValues, debugDump, getApplicableSecurityPolicy, getAttorney, getAuthorities, getDelegatorWithOtherPrivilegesLimitationsCollection, getFocus, getLocale, getName, getOid, getPassword, getPreferredLocale, getPreviousPrincipal, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, replaceFocus, setApplicableSecurityPolicy, setAttorney, setPreferredLocale, 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
-
GuiProfiledPrincipal
public GuiProfiledPrincipal(@NotNull @NotNull FocusType user)
-
-
Method Detail
-
getCompiledGuiProfile
@NotNull public @NotNull CompiledGuiProfile getCompiledGuiProfile()
-
setCompiledGuiProfile
public void setCompiledGuiProfile(CompiledGuiProfile compiledGuiProfile)
-
clone
public GuiProfiledPrincipal clone()
Semi-shallow clone.- Overrides:
clone
in classMidPointPrincipal
-
copyValues
protected void copyValues(GuiProfiledPrincipal clone)
-
debugDumpInternal
protected void debugDumpInternal(StringBuilder sb, int indent)
- Overrides:
debugDumpInternal
in classMidPointPrincipal
-
setActiveSessions
public void setActiveSessions(int activeSessions)
-
getActiveSessions
public int getActiveSessions()
-
-