public class DomainManagedServerCallbackHandler extends Object implements org.jboss.msc.Service, CallbackHandlerService, CallbackHandler
HostControllerConnection.| Modifier and Type | Class and Description |
|---|---|
static class |
DomainManagedServerCallbackHandler.ServiceUtil |
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMAIN_SERVER_AUTH_PREFIX |
static String |
DOMAIN_SERVER_AUTH_REALM |
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
getCallbackHandler(Map<String,Object> sharedState)
Obtain a CallbackHandler instance for use during authentication.
|
Map<String,String> |
getConfigurationOptions() |
org.wildfly.security.auth.server.SecurityRealm |
getElytronSecurityRealm()
Get an Elytron
SecurityRealm that is backed by this callback handler. |
AuthMechanism |
getPreferredMechanism() |
Function<Principal,Principal> |
getPrincipalMapper()
Get a principal mapper to be used before the realm is selected.
|
Set<AuthMechanism> |
getSupplementaryMechanisms() |
void |
handle(Callback[] callbacks) |
static void |
install(org.jboss.msc.service.ServiceTarget serviceTarget) |
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 |
setServerCallbackHandler(CallbackHandler serverCallbackHandler) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowGroupLoadingpublic static final org.jboss.msc.service.ServiceName SERVICE_NAME
public static final String DOMAIN_SERVER_AUTH_REALM
public static final String DOMAIN_SERVER_AUTH_PREFIX
public static void install(org.jboss.msc.service.ServiceTarget serviceTarget)
public void setServerCallbackHandler(CallbackHandler serverCallbackHandler)
public AuthMechanism getPreferredMechanism()
getPreferredMechanism in interface CallbackHandlerServicepublic Set<AuthMechanism> getSupplementaryMechanisms()
getSupplementaryMechanisms in interface CallbackHandlerServicepublic Map<String,String> getConfigurationOptions()
getConfigurationOptions in interface CallbackHandlerServicepublic boolean isReadyForHttpChallenge()
CallbackHandlerServiceisReadyForHttpChallenge in interface CallbackHandlerServiceCallbackHandlerService is ready for challenge based authentication.public 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 org.wildfly.security.auth.server.SecurityRealm getElytronSecurityRealm()
CallbackHandlerServiceSecurityRealm that is backed by this callback handler.getElytronSecurityRealm in interface CallbackHandlerServiceSecurityRealm that is backed by this callback handler.public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionpublic Function<Principal,Principal> getPrincipalMapper()
CallbackHandlerServicegetPrincipalMapper in interface CallbackHandlerServiceCopyright © 2019 JBoss by Red Hat. All rights reserved.