public abstract class NegotiableChallengeHandler extends ChallengeHandler
NegotiateChallengeHandler
to assist in the construction of a challenge response using object identifiers.Modifier | Constructor and Description |
---|---|
protected |
NegotiableChallengeHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static NegotiableChallengeHandler |
create()
Creates a new instance of
NegotiableChallengeHandler using the
ServiceLoader API with the implementation specified under
META-INF/services. |
static NegotiableChallengeHandler |
create(ClassLoader classLoader)
Creates a new instance of
NegotiableChallengeHandler with the
specified ClassLoader using the ServiceLoader API with
the implementation specified under META-INF/services. |
abstract LoginHandler |
getLoginHandler()
Get the general login handler associated with this challenge handler.
|
abstract Collection<String> |
getSupportedOids()
Return a collection of string representations of object identifiers
supported by this challenge handler implementation, in dot-separated notation.
|
abstract NegotiableChallengeHandler |
setLoginHandler(LoginHandler loginHandler)
Provide a general login handler to be used in association with this challenge handler.
|
canHandle, create, create, handle
protected NegotiableChallengeHandler()
public static NegotiableChallengeHandler create()
NegotiableChallengeHandler
using the
ServiceLoader
API with the implementation specified under
META-INF/services.public static NegotiableChallengeHandler create(ClassLoader classLoader)
NegotiableChallengeHandler
with the
specified ClassLoader
using the ServiceLoader
API with
the implementation specified under META-INF/services.classLoader
- ClassLoader to be used to instantiatepublic abstract Collection<String> getSupportedOids()
public abstract NegotiableChallengeHandler setLoginHandler(LoginHandler loginHandler)
loginHandler
- a login handler for credentials.public abstract LoginHandler getLoginHandler()
null
if none has been established yet.Copyright © 2015. All Rights Reserved.