Class AuthConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.security.auth.AuthConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.jsonwebtoken.JwtParserintintgetRoles()booleanisTypeAD()protected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, load, loadField, name, temp, updateConfigFile, updateFilePath
-
Field Details
-
CFG
-
-
Constructor Details
-
AuthConfig
public AuthConfig()
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws NoSuchAlgorithmException, InvalidKeySpecException, IOException, org.bouncycastle.operator.OperatorCreationException, GeneralSecurityException - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
NoSuchAlgorithmExceptionInvalidKeySpecExceptionIOExceptionorg.bouncycastle.operator.OperatorCreationExceptionGeneralSecurityException
-
getLdapHost
-
getLdapPort
public int getLdapPort() -
getLdapBaseDN
-
getBindingUserDN
-
getLdapTenantGroupName
-
getLdapTLSProtocol
-
isTypeAD
public boolean isTypeAD() -
getLdapConfig
-
getJwtSigningKey
-
getJwtParser
public io.jsonwebtoken.JwtParser getJwtParser() -
getJwtIssuer
-
getJwtTTLMinutes
public int getJwtTTLMinutes() -
getRole
-
getRoles
-
getRoleNames
-