public class NoOpSecurityContextFactory extends Object implements SecurityContextFactory
NoOpSecurityContext.| Constructor and Description |
|---|
NoOpSecurityContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
createContext(SecurityConfiguration securityConfig)
create security context.
|
boolean |
isCompatibleWith(SecurityConfiguration securityConfig)
Check if this factory is compatible with the security configuration.
|
public boolean isCompatibleWith(SecurityConfiguration securityConfig)
SecurityContextFactorySpecific implementation must override this to provide compatibility check, by default it
will always return false.
isCompatibleWith in interface SecurityContextFactorysecurityConfig - security configurations.true if factory is compatible with the configuration.public SecurityContext createContext(SecurityConfiguration securityConfig) throws SecurityContextInitializeException
SecurityContextFactorycreateContext in interface SecurityContextFactorysecurityConfig - security configuration used to create context.SecurityContextInitializeExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.