public class ViewPrincipal extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected AdminGroupChecker |
adminGroupChecker |
protected List<String> |
aliases |
protected AliasManager |
aliasManager |
protected Map<Long,Boolean> |
applicationInError |
protected List<Application> |
applications |
protected Directory |
directory |
protected long |
directoryID |
protected String |
directoryName |
protected String |
displayname |
protected String |
email |
protected String |
externalId |
protected String |
firstname |
protected String |
humanReadableFailedGroups |
protected String |
lastname |
protected String |
name |
protected String |
newName |
protected String |
password |
protected String |
passwordConfirm |
protected PermissionManager |
permissionManager |
protected boolean |
preventingLockout |
protected TokenAuthenticationManager |
tokenAuthenticationManager |
protected String |
unremovedGroups |
protected User |
user |
protected Map<String,Set<String>> |
userAttributes |
protected Long |
userID |
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab
Constructor and Description |
---|
ViewPrincipal() |
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected TokenAuthenticationManager tokenAuthenticationManager
protected AliasManager aliasManager
protected PermissionManager permissionManager
protected AdminGroupChecker adminGroupChecker
protected String humanReadableFailedGroups
protected User user
protected Directory directory
protected long directoryID
protected String directoryName
protected Long userID
protected String name
protected String newName
protected String password
protected String passwordConfirm
protected String displayname
protected String firstname
protected String lastname
protected String email
protected boolean active
protected String externalId
protected List<Application> applications
protected String unremovedGroups
protected boolean preventingLockout
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
public boolean hasUpdateGroupPermission()
protected void processGeneral()
protected Map<String,Set<String>> readAttributes(UserWithAttributes userWithAttributes)
protected void syncFieldsToPrincipal()
user
protected void syncFieldsFromPrincipal()
user
to the various fields (eg name
).protected void processDirectoryMapping()
public User getUser()
public Directory getDirectory()
public long getDirectoryID()
public void setDirectoryID(long directoryID)
public String getName()
public void setName(String name)
public String getPassword()
public void setPassword(String password)
public String getPasswordConfirm()
public void setPasswordConfirm(String passwordConfirm)
public String getDisplayname()
public void setDisplayname(String displayname)
public String getFirstname()
public void setFirstname(String firstname)
public String getLastname()
public void setLastname(String lastname)
public String getEmail()
public void setEmail(String email)
public boolean isActive()
public String getExternalId()
public void setActive(boolean active)
public Set getGroups()
public Set getUnsubscribedGroups()
public Map getUserAttributes()
public String getDirectoryName()
public List<Application> getApplications()
public void setDirectoryName(String directoryName)
protected void doValidation()
public void setApplicationService(ApplicationService applicationService)
setApplicationService
in class BaseAction
public void setAliasManager(AliasManager aliasManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setTokenAuthenticationManager(TokenAuthenticationManager tokenAuthenticationManager)
setTokenAuthenticationManager
in class BaseAction
public AdminGroupChecker getAdminGroupChecker()
public void setAdminGroupChecker(AdminGroupChecker adminGroupChecker)
public void setDirectoryInstanceLoader(DirectoryInstanceLoader directoryInstanceLoader)
public boolean isPreventingLockout()
public void setPreventingLockout(boolean preventingLockout)
public String getUnremovedGroups()
public void setUnremovedGroups(String unremovedGroups)
public String getNewName()
public void setNewName(String newName)
public String getDirectoryImplementationDescriptiveName()
public void setUserID(Long userID)
public void setCachedUserGroupResolver(CachedUserGroupResolver cachedUserGroupResolver)
public String getHumanReadableFailedGroups()
public void setHumanReadableFailedGroups(String humanReadableFailedGroups)
Copyright © 2020 Atlassian. All rights reserved.