Class AccessCheckerViaAuthService
- java.lang.Object
-
- ru.foodtechlab.lib.auth.integration.core.authorizartion.impl.AccessCheckerViaAuthService
-
- All Implemented Interfaces:
com.rcore.domain.security.port.AccessChecker
public class AccessCheckerViaAuthService extends Object implements com.rcore.domain.security.port.AccessChecker
-
-
Constructor Summary
Constructors Constructor Description AccessCheckerViaAuthService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.rcore.domain.security.model.CredentialDetailscheckAccessByToken(String token, String requestType, String requestPath, String serviceName)booleantokenIsValid(String token)
-
-
-
Method Detail
-
checkAccessByToken
public com.rcore.domain.security.model.CredentialDetails checkAccessByToken(String token, String requestType, String requestPath, String serviceName)
- Specified by:
checkAccessByTokenin interfacecom.rcore.domain.security.port.AccessChecker
-
tokenIsValid
public boolean tokenIsValid(String token)
- Specified by:
tokenIsValidin interfacecom.rcore.domain.security.port.AccessChecker
-
-