@FunctionalInterface public interface SecurityContextFactory
There can only be one security context installed in each secure runtime.
|Modifier and Type||Method and Description|
create security context.
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
securityConfig- security configurations.
trueif factory is compatible with the configuration.
SecurityContext createContext(SecurityConfiguration securityConfig) throws SecurityContextInitializeException
securityConfig- security configuration used to create context.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.