public class JaasCallbackHandler extends Object implements org.jboss.msc.service.Service<CallbackHandlerService>, CallbackHandlerService, CallbackHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
JaasCallbackHandler.ServiceUtil |
| Constructor and Description |
|---|
JaasCallbackHandler(String realm,
String name,
boolean assignGroups) |
| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
getCallbackHandler(Map<String,Object> sharedState)
Obtain a CallbackHandler instance for use during authentication.
|
Map<String,String> |
getConfigurationOptions() |
AuthMechanism |
getPreferredMechanism() |
org.jboss.msc.value.InjectedValue<ServerSecurityManager> |
getSecurityManagerValue() |
Set<AuthMechanism> |
getSupplementaryMechanisms() |
CallbackHandlerService |
getValue() |
void |
handle(Callback[] callbacks) |
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 AuthMechanism getPreferredMechanism()
getPreferredMechanism in interface CallbackHandlerServicepublic Set<AuthMechanism> getSupplementaryMechanisms()
getSupplementaryMechanisms in interface CallbackHandlerServicepublic Map<String,String> getConfigurationOptions()
getConfigurationOptions in interface CallbackHandlerServicepublic CallbackHandler getCallbackHandler(Map<String,Object> sharedState)
CallbackHandlerServicegetCallbackHandler in interface CallbackHandlerServicesharedState - - The state to be shared between the authentication side of the call and the authorization side.public boolean isReadyForHttpChallenge()
CallbackHandlerServiceisReadyForHttpChallenge in interface CallbackHandlerServiceCallbackHandlerService is ready for challenge based authentication.public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<CallbackHandlerService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<CallbackHandlerService>public org.jboss.msc.value.InjectedValue<ServerSecurityManager> getSecurityManagerValue()
public CallbackHandlerService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<CallbackHandlerService>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.