# Uses of Class
net.shibboleth.idp.authn.ExternalAuthenticationException

Packages that use ExternalAuthenticationException
Package
Description
net.shibboleth.idp.authn
APIs related to the authentication of a subject.
net.shibboleth.idp.authn.impl
Implementation of various authentication actions.
net.shibboleth.idp.authn.spnego.impl
Implementation of SPNEGO authentication flow.
net.shibboleth.idp.saml.saml2.profile.impl
Profile processing actions related to SAML 2 messages.

## Uses of ExternalAuthenticationException in net.shibboleth.idp.authn

Methods in net.shibboleth.idp.authn that throw ExternalAuthenticationException
Modifier and Type
Method
Description
`protected abstract void`
ExternalAuthentication.`doFinish(HttpServletRequest request, HttpServletResponse response, ProfileRequestContext profileRequestContext, ExternalAuthenticationContext externalAuthenticationContext)`
Complete a request for external authentication by seeking out the information stored in request attributes and transferring to the session's conversation state, and then transfer control back to the authentication web flow.
`protected void`
ExternalAuthentication.`doStart(HttpServletRequest request, ProfileRequestContext profileRequestContext, ExternalAuthenticationContext externalAuthenticationContext)`
Initialize a request for external authentication by seeking out the information stored in the servlet session and exposing it as request attributes.
`static void`
ExternalAuthentication.`finishExternalAuthentication(String key, HttpServletRequest request, HttpServletResponse response)`
Complete a request for external authentication by seeking out the information stored in request attributes and transferring to the session's conversation state, and then transfer control back to the authentication web flow.
`private static ExternalAuthenticationContext`
ExternalAuthentication.`getExternalAuthenticationContext(ProfileRequestContext profileRequestContext)`
Utility method to access the `ExternalAuthenticationContext`.
`static ProfileRequestContext`
ExternalAuthentication.`getProfileRequestContext(String key, HttpServletRequest request)`
Get the `ProfileRequestContext` associated with a request.
`static String`
ExternalAuthentication.`startExternalAuthentication(HttpServletRequest request)`
Initialize a request for external authentication by seeking out the information stored in the servlet session and exposing it as request attributes.

## Uses of ExternalAuthenticationException in net.shibboleth.idp.authn.impl

Methods in net.shibboleth.idp.authn.impl that throw ExternalAuthenticationException
Modifier and Type
Method
Description
`protected void`
ExternalAuthenticationImpl.`doFinish(HttpServletRequest request, HttpServletResponse response, ProfileRequestContext profileRequestContext, ExternalAuthenticationContext extContext)`
Complete a request for external authentication by seeking out the information stored in request attributes and transferring to the session's conversation state, and then transfer control back to the authentication web flow.
`protected void`
ExternalAuthenticationImpl.`doStart(HttpServletRequest request, ProfileRequestContext profileRequestContext, ExternalAuthenticationContext externalAuthenticationContext)`
Initialize a request for external authentication by seeking out the information stored in the servlet session and exposing it as request attributes.
`AuthenticationFlowDescriptor`
RemoteUserAuthServlet.`getAuthenticationFlowDescriptor(String key, HttpServletRequest httpRequest)`
Get the executing `AuthenticationFlowDescriptor`.

## Uses of ExternalAuthenticationException in net.shibboleth.idp.authn.spnego.impl

Methods in net.shibboleth.idp.authn.spnego.impl that throw ExternalAuthenticationException
Modifier and Type
Method
Description
`ModelAndView`
SPNEGOAuthnController.`continueSPNEGO(String conversationKey, String authorizationHeader, HttpServletRequest httpRequest, HttpServletResponse httpResponse)`
Process an input GSS token from the client and attempt to complete the context establishment process.
`private void`
SPNEGOAuthnController.`finishWithError(String key, HttpServletRequest httpRequest, HttpServletResponse httpResponse, String error)`
Finish the authentication process with an error.
`private void`
SPNEGOAuthnController.`finishWithException(String key, HttpServletRequest httpRequest, HttpServletResponse httpResponse, Exception ex)`
Finish the authentication process with an exception.
`private void`
SPNEGOAuthnController.`finishWithSuccess(String key, HttpServletRequest httpRequest, HttpServletResponse httpResponse, KerberosPrincipal kerberosPrincipal)`
Finish the authentication process successfully.
`void`
SPNEGOAuthnController.`handleError(String conversationKey, HttpServletRequest httpRequest, HttpServletResponse httpResponse)`
Respond to a user signaling that an error occurred.
`ModelAndView`
SPNEGOAuthnController.`startSPNEGO(String conversationKey, HttpServletRequest httpRequest, HttpServletResponse httpResponse)`
Handle initial request that starts SPNEGO.

## Uses of ExternalAuthenticationException in net.shibboleth.idp.saml.saml2.profile.impl

Methods in net.shibboleth.idp.saml.saml2.profile.impl that throw ExternalAuthenticationException
Modifier and Type
Method
Description
`void`
SAMLAuthnController.`finishSAML(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String binding)`
Inbound completion of the process, triggered by default for any methods.
`void`
SAMLAuthnController.`startSAML(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String binding)`
Outbound initiation of the process, triggered with a fixed addition to the path.
`private void`
SAMLAuthnController.`validateRequest(HttpServletRequest httpRequest, String binding)`
Validate the inbound HTTP request.