Top Description Fields Constructors Methods
org.apache.catalina.authenticator.jaspic

public Class SimpleAuthConfigProvider

extends Object
implements AuthConfigProvider
Class Inheritance
All Implemented Interfaces
jakarta.security.auth.message.config.AuthConfigProvider
Imports
java.util.Map, javax.security.auth.callback.CallbackHandler, jakarta.security.auth.message.AuthException, jakarta.security.auth.message.config.AuthConfigFactory, .AuthConfigProvider, .ClientAuthConfig, .ServerAuthConfig

Basic implementation primarily intended for use when using third-party jakarta.security.auth.message.module.ServerAuthModule implementations that only provide the module.

Field Summary

Modifier and TypeField and Description
private final Map<String, Object>
private volatile ServerAuthConfig

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ServerAuthConfig
createServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, Object> properties)

public ClientAuthConfig
getClientAuthConfig(String layer, String appContext, CallbackHandler handler)

Implements jakarta.security.auth.message.config.AuthConfigProvider.getClientAuthConfig.

This implementation does not support client-side authentication and therefore always returns null.

public ServerAuthConfig
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propertiesback to summary
private final Map<String, Object> properties
serverAuthConfigback to summary
private volatile ServerAuthConfig serverAuthConfig

Constructor Detail

SimpleAuthConfigProviderback to summary
public SimpleAuthConfigProvider(Map<String, Object> properties, AuthConfigFactory factory)

Method Detail

createServerAuthConfigback to summary
protected ServerAuthConfig createServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, Object> properties)
getClientAuthConfigback to summary
public ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException

Implements jakarta.security.auth.message.config.AuthConfigProvider.getClientAuthConfig.

This implementation does not support client-side authentication and therefore always returns null.

Annotations
@Override
getServerAuthConfigback to summary
public ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException

Implements jakarta.security.auth.message.config.AuthConfigProvider.getServerAuthConfig.

Annotations
@Override
refreshback to summary
public void refresh()

Implements jakarta.security.auth.message.config.AuthConfigProvider.refresh.

Annotations
@Override