Class LDAPAuthenticator<M>
java.lang.Object
org.summerboot.jexpress.security.auth.BootAuthenticator<M>
org.summerboot.jexpress.security.auth.LDAPAuthenticator<M>
- Type Parameters:
M-
- All Implemented Interfaces:
io.grpc.ServerInterceptor,Authenticator<M>
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
Fields inherited from class org.summerboot.jexpress.security.auth.BootAuthenticator
authenticatorListener, authTokenCache, ERROR, ERROR_NO_CFGFields inherited from interface org.summerboot.jexpress.security.auth.Authenticator
GrpcCaller, GrpcCallerId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Callerauthenticate(String username, String password, M metaData, AuthenticatorListener listener, ServiceContext context) Methods inherited from class org.summerboot.jexpress.security.auth.BootAuthenticator
customizedAuthorizationCheck, fromJwt, getBearerToken, getBearerToken, interceptCall, logoutToken, logoutToken, overrideVerifyTokenErrorCode, parseJWT, signJWT, toJwt, verifyToken, verifyToken
-
Constructor Details
-
LDAPAuthenticator
public LDAPAuthenticator()
-
-
Method Details
-
authenticate
protected Caller authenticate(String username, String password, M metaData, AuthenticatorListener listener, ServiceContext context) throws NamingException - Specified by:
authenticatein classBootAuthenticator<M>- Returns:
- Throws:
NamingException
-