public class PlugInAuthenticationCallbackHandler extends Object implements org.jboss.msc.service.Service<CallbackHandlerService>, CallbackHandlerService
Modifier and Type | Class and Description |
---|---|
static class |
PlugInAuthenticationCallbackHandler.ServiceUtil |
Modifier and Type | Method and Description |
---|---|
CallbackHandler |
getCallbackHandler(Map<String,Object> sharedState)
Obtain a CallbackHandler instance for use during authentication.
|
protected Map<String,String> |
getConfiguration() |
Map<String,String> |
getConfigurationOptions() |
protected PlugInLoaderService |
getPlugInLoader() |
org.jboss.msc.value.InjectedValue<PlugInLoaderService> |
getPlugInLoaderServiceValue() |
protected String |
getPlugInName() |
AuthMechanism |
getPreferredMechanism() |
protected String |
getRealmName() |
Set<AuthMechanism> |
getSupplementaryMechanisms() |
CallbackHandlerService |
getValue() |
boolean |
isReadyForHttpChallenge()
Is this CallbackHandler ready for handling HTTP requests that involve a challenge?
To be used by the HTTP interface to display an error if the administrator has not completed the set-up of their
installation.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public CallbackHandlerService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<CallbackHandlerService>
IllegalStateException
IllegalArgumentException
public AuthMechanism getPreferredMechanism()
getPreferredMechanism
in interface CallbackHandlerService
public Set<AuthMechanism> getSupplementaryMechanisms()
getSupplementaryMechanisms
in interface CallbackHandlerService
public Map<String,String> getConfigurationOptions()
getConfigurationOptions
in interface CallbackHandlerService
public boolean isReadyForHttpChallenge()
CallbackHandlerService
isReadyForHttpChallenge
in interface CallbackHandlerService
CallbackHandlerService
is ready for challenge based authentication.public CallbackHandler getCallbackHandler(Map<String,Object> sharedState)
CallbackHandlerService
getCallbackHandler
in interface CallbackHandlerService
sharedState
- - The state to be shared between the authentication side of the call and the authorization side.public org.jboss.msc.value.InjectedValue<PlugInLoaderService> getPlugInLoaderServiceValue()
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
protected String getRealmName()
protected String getPlugInName()
protected PlugInLoaderService getPlugInLoader()
Copyright © 2023 JBoss by Red Hat. All rights reserved.