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)
SecurityContextFactory
Specific implementation must override this to provide compatibility check, by default it
will always return false
.
isCompatibleWith
in interface SecurityContextFactory
securityConfig
- security configurations.true
if factory is compatible with the configuration.public SecurityContext createContext(SecurityConfiguration securityConfig) throws SecurityContextInitializeException
SecurityContextFactory
createContext
in interface SecurityContextFactory
securityConfig
- security configuration used to create context.SecurityContextInitializeException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.