@FunctionalInterface public interface SecurityContextFactory
SecurityContext.
There can only be one security context installed in each secure runtime.
| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
createContext(SecurityConfiguration securityConfig)
create security context.
|
default boolean |
isCompatibleWith(SecurityConfiguration securityConfig)
Check if this factory is compatible with the security configuration.
|
default boolean isCompatibleWith(SecurityConfiguration securityConfig)
Specific implementation must override this to provide compatibility check, by default it
will always return false.
securityConfig - security configurations.true if factory is compatible with the configuration.SecurityContext createContext(SecurityConfiguration securityConfig) throws SecurityContextInitializeException
securityConfig - security configuration used to create context.SecurityContextInitializeExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.