Class SAMLAuthAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.plugin.saml.action.SAMLAuthAction
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
Action responsible for servicing SAML
authentication requests. This has
been implemented for compatibility with
Google Apps SSO.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
ConstructorsConstructorDescriptionSAMLAuthAction
(SAMLMessageManager samlMessageManager, PropertyManager propertyManager, DirectoryManager directoryManager, ApplicationManager applicationManager, CrowdLicenseManager crowdLicenseManager, com.atlassian.webresource.api.WebResourceManager webResourceManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ApplicationService applicationService, TokenAuthenticationManager tokenAuthenticationManager, CrowdRememberMeService rememberMeService, XsrfTokenGenerator xsrfTokenGenerator, ActionHelper actionHelper, ClusterService clusterService) -
Method Summary
Modifier and TypeMethodDescriptionexecute()
protected String
This method exists just to allow tests to replace this static behaviour with a more "testeable" one.void
setRelayState
(String RelayState) void
setSAMLEncoding
(String SAMLEncoding) void
setSAMLRequest
(String SAMLRequest) Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, 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, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.ActionSupport
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
-
Constructor Details
-
SAMLAuthAction
public SAMLAuthAction(SAMLMessageManager samlMessageManager, PropertyManager propertyManager, DirectoryManager directoryManager, ApplicationManager applicationManager, CrowdLicenseManager crowdLicenseManager, com.atlassian.webresource.api.WebResourceManager webResourceManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ApplicationService applicationService, TokenAuthenticationManager tokenAuthenticationManager, CrowdRememberMeService rememberMeService, XsrfTokenGenerator xsrfTokenGenerator, ActionHelper actionHelper, ClusterService clusterService)
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
-
getQueryString
This method exists just to allow tests to replace this static behaviour with a more "testeable" one.- Returns:
- the HTTP query string
-
getSamlResponse
-
setSAMLRequest
-
setRelayState
-
getSAMLEncoding
-
setSAMLEncoding
-