Class ShiroAuthProviderFactory
java.lang.Object
com.linecorp.centraldogma.server.auth.shiro.ShiroAuthProviderFactory
- All Implemented Interfaces:
AuthProviderFactory
A factory for creating an Apache Shiro based
AuthProvider
.-
Constructor Summary
ConstructorDescriptionCreates a new instance with the defaultIni
config resolver.ShiroAuthProviderFactory
(Function<AuthConfig, org.apache.shiro.config.Ini> iniConfigResolver) Creates a new instance with the specifiediniConfigResolver
. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(AuthProviderParameters parameters) Creates a newAuthProvider
instance which is used for configuring the authentication layer for the Central Dogma server.
-
Constructor Details
-
ShiroAuthProviderFactory
public ShiroAuthProviderFactory()Creates a new instance with the defaultIni
config resolver. -
ShiroAuthProviderFactory
Creates a new instance with the specifiediniConfigResolver
.
-
-
Method Details
-
create
Description copied from interface:AuthProviderFactory
Creates a newAuthProvider
instance which is used for configuring the authentication layer for the Central Dogma server.- Specified by:
create
in interfaceAuthProviderFactory
- Parameters:
parameters
- the parameters which are used to create anAuthProvider
instance
-