@MappedSuperclass public class AdminUser extends BasicUser implements SuperUser
AdminUser is not an Entity, because any user
can be translated into an AdminUser by proxying a real User instance.BasicUser. Since user details are project specific, its best
to let the project define the concrete implementation.method getUserDetailsToLoadInSession(),
Serialized FormUser.BIT_MASKS| Modifier and Type | Method and Description |
|---|---|
Date |
getLastLogInDate() |
Date |
getLastLogOutDate() |
User |
getProxyFor()
|
void |
setLastLogInDate(Date lastLogInDate) |
void |
setLastLogOutDate(Date lastLogOutDate) |
void |
setProxyFor(User proxyFor)
|
copyAs, equals, getAuthorizationMap, getAuthorizations, getBitmask, getId, getName, getRoleNames, getRoles, hashCode, setAuthorizationMap, setAuthorizations, setBitmask, setId, setRoleNames, setRoles, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopyAs, getAuthorizationMap, getBitmask, getEnvironmentSupplier, getId, getRoleNames, setAuthorizationMap, setBitmask, setId, setRoleNamespublic AdminUser()
public AdminUser(String id)
public Date getLastLogInDate()
public void setLastLogInDate(Date lastLogInDate)
public Date getLastLogOutDate()
public void setLastLogOutDate(Date lastLogOutDate)
public User getProxyFor()
public void setProxyFor(User proxyFor)
Copyright © 2018. All rights reserved.