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 com.linecorp.centraldogma.server.auth.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linecorp.centraldogma.server.auth.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
-