public class XDATUserDetails extends XDATUser implements org.springframework.security.core.userdetails.UserDetails
XDATUser.ActivationException, XDATUser.EnabledException, XDATUser.FailedLoginException, XDATUser.PasswordAuthenticationException, XDATUser.PasswordComplexityException, XDATUser.UserNotFoundException, XDATUser.VerifiedException
ItemWrapper.FieldEmptyException
COMMON, ROLE_SITE_ADMIN, USER_ELEMENT
SCHEMA_ELEMENT_NAME
allowXMLDBAccess
Constructor and Description |
---|
XDATUserDetails() |
XDATUserDetails(String user) |
XDATUserDetails(XdatUser user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
XdatUserAuth |
getAuthorization() |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
XdatUserAuth |
setAuthorization(XdatUserAuth auth) |
void |
validateUserLogin() |
addGroup, addRole, addRootPermission, can, can, canAction, canActivate, canActivateBySelectGrandName, canActivateByXMLPath, canCreate, canCreate, canCreateBySelectGrandName, canCreateByXMLPath, canCreateElement, canDelete, canDeleteBySelectGrandName, canDeleteByXMLPath, canEdit, canEdit, canEditBySelectGrandName, canEditByXMLPath, canQuery, canRead, canRead, canReadBySelectGrandName, canReadByXMLPath, canReadByXMLPath, canReadStoredSearch, canStoreItem, checkFeature, checkFeature, checkFeature, checkFeatureForAnyTag, checkRole, checkSiteRole, clearBrowseableElementDisplays, clearLocalCache, containsGroup, createNewSalt, deleteRole, getAccessibleProjects, getAccessManager, getAccessManagers, getAllItems, getAllItems, getAllItems, getAllLogins, getAllowedValues, getAllowedValues, getBrowseableCreateableElementDisplays, getBrowseableElementDisplay, getBrowseableElementDisplays, getCachedFile, getCachedItems, getCachedItemsByFieldValue, getCachedItemValuesHash, getCreateableElementDisplays, getCriteriaForBackendRead, getCriteriaForBackendRead, getCriteriaForDisplayRead, getCriteriaForDisplayRead, getDisplayManager, getEditableElementDisplays, getElementSecurity, getEmail, getFeaturesForUserByTag, getFeaturesForUserByTags, getFirstname, getGroup, getGroupByTag, getGroups, getGuestManagers, getID, getLastLogin, getLastname, getLayeredStoredSearches, getPermissionItems, getPermissionItems, getPreviousLogin, getQueryResults, getQueryResults, getQueryResultsAsArrayList, getReadableCounts, getReadableElementDisplays, getRecentItems, getRoleNames, getRootPermission, getRootPermissionObject, getSearch, getSearchableElementDisplays, getSearchableElementDisplays, getSearchableElementDisplaysByDesc, getSearchableElementDisplaysByPluralDesc, getServer, getSQLSelect, getStoredSearch, getStoredSearches, getStoredSearchItem, getTotalCounts, getUnSecuredElements, getUserid, getUsername, getUsername, hasAccessTo, hasPermissions, init, initGroups, isExtended, isFavorite, isGuest, isLoggedIn, isMember, isOwner, isSiteAdmin, isVerified, login, ModifyUser, ModifyUser, outputBundleHTMLMenu, refreshGroup, replaceGroup, replacePreLoadedSearch, secureItem, setExtended, setLoggedIn, setPermissions
getAllXdatUsers, getAssignedRoles_assignedRole, getElementAccess, getEnabled, getFileResources, getGroups_groupid, getLogin, getPrimaryPassword_encrypt, getPrimaryPassword, getQuarantinePath, getSalt, getSchemaElementName, getVerified, getXdatUserId, getXdatUsersByField, getXdatUsersByField, getXdatUsersByLogin, getXdatUsersByXdatUserId, removeAssignedRoles_assignedRole, removeElementAccess, removeGroups_groupid, setAssignedRoles_assignedRole, setElementAccess, setEmail, setEnabled, setFirstname, setGroups_groupid, setLastname, setLogin, setPrimaryPassword_encrypt, setPrimaryPassword, setQuarantinePath, setSalt, setVerified, setXdatUserId, wrapItems, wrapItems
getDateDiff, getDisplayField, getDisplayField, getDisplayFields, getFileResources, GetGeneratedClass, GetGeneratedItem, getInsertDate, getInsertUser, getSchemaElement, getSecurityTags, loadDisplayFields, log, output, output, readExternal, setBooleanProperty, setBooleanProperty, setBooleanProperty, setBooleanProperty, setProperty, toJoinedXML, toString, WrapItems, writeExternal
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getDoubleProperty, getFloatProperty, getIntegerProperty, getItem, getLongCreateTime, getMetaCreatedBy, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, postSave, preSave, quarantine, save, save, setItem, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, toXML, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getItem, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, quarantine, save, save, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, validate
public XdatUserAuth getAuthorization()
public XdatUserAuth setAuthorization(XdatUserAuth auth)
public Collection<org.springframework.security.core.GrantedAuthority> 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 UserI
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
getUsername
in class XDATUser
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()
public void validateUserLogin()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.