Class ShiroAuthProvider
java.lang.Object
com.linecorp.centraldogma.server.auth.shiro.ShiroAuthProvider
- All Implemented Interfaces:
AuthProvider
Apache Shiro based
AuthProvider implementation.-
Field Summary
Fields inherited from interface AuthProvider
BUILTIN_WEB_BASE_PATH, BUILTIN_WEB_LOGIN_PATH, BUILTIN_WEB_LOGOUT_PATH, LOGIN_API_ROUTES, LOGIN_PATH, LOGOUT_API_ROUTES, LOGOUT_PATH -
Method Summary
Modifier and TypeMethodDescriptionReturns aServicewhich handles a login request sent from the built-in web login page or somewhere implemented by anAuthProvider.Returns aServicewhich handles a logout request sent from the built-in web logout page or somewhere implemented by anAuthProvider.Returns the parameters which are necessary for thisAuthProvider.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuthProvider
moreServices, webLoginService, webLogoutService
-
Method Details
-
loginApiService
Description copied from interface:AuthProviderReturns aServicewhich handles a login request sent from the built-in web login page or somewhere implemented by anAuthProvider. This service would be added to the server withAuthProvider.LOGIN_API_ROUTESonly if it is provided.- Specified by:
loginApiServicein interfaceAuthProvider
-
logoutApiService
Description copied from interface:AuthProviderReturns aServicewhich handles a logout request sent from the built-in web logout page or somewhere implemented by anAuthProvider. This service would be added to the server withAuthProvider.LOGOUT_API_ROUTES. If it is not provided, a default service would be added because the web console provides a logout button on the navigation bar by default.- Specified by:
logoutApiServicein interfaceAuthProvider
-
parameters
Description copied from interface:AuthProviderReturns the parameters which are necessary for thisAuthProvider.- Specified by:
parametersin interfaceAuthProvider
-