Package com.esri.arcgisruntime.security
Class DefaultAuthenticationChallengeHandler
- java.lang.Object
-
- com.esri.arcgisruntime.security.DefaultAuthenticationChallengeHandler
-
- All Implemented Interfaces:
AuthenticationChallengeHandler
public final class DefaultAuthenticationChallengeHandler extends Object implements AuthenticationChallengeHandler
Implements an authentication challenge handler that handles user credential and OAuth challenges.- Since:
- 100.2.0
- See Also:
AuthenticationManager.setAuthenticationChallengeHandler(AuthenticationChallengeHandler)
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationChallengeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationChallengeResponse
handleChallenge(AuthenticationChallenge challenge)
Handles the incoming AuthenticationChallenge, returning a response that contains an action and potentially a parameter with which to carry out the action.
-
-
-
Method Detail
-
handleChallenge
public AuthenticationChallengeResponse handleChallenge(AuthenticationChallenge challenge)
Description copied from interface:AuthenticationChallengeHandler
Handles the incoming AuthenticationChallenge, returning a response that contains an action and potentially a parameter with which to carry out the action.- Specified by:
handleChallenge
in interfaceAuthenticationChallengeHandler
- Parameters:
challenge
- the authentication challenge to handle- Returns:
- the response that should be taken
-
-