- OAuthAuthenticationException - Exception in io.buji.oauth
-
This class is the exception that is thrown when OAuth authentication process fails in OAuthRealm.
- OAuthAuthenticationException() - Constructor for exception io.buji.oauth.OAuthAuthenticationException
-
- OAuthAuthenticationException(String) - Constructor for exception io.buji.oauth.OAuthAuthenticationException
-
- OAuthAuthenticationException(Throwable) - Constructor for exception io.buji.oauth.OAuthAuthenticationException
-
- OAuthAuthenticationException(String, Throwable) - Constructor for exception io.buji.oauth.OAuthAuthenticationException
-
- OAuthFilter - Class in io.buji.oauth
-
This filter retrieves OAuth credential after user authenticates at the OAuth provider to create an OAuthToken to finish the OAuth
authentication process and retrieve the user profile.
- OAuthFilter() - Constructor for class io.buji.oauth.OAuthFilter
-
- OAuthFormAuthenticationFilter - Class in io.buji.oauth.filter
-
This class specializes the FormAuthenticationFilter to have a login url which is the authorization url of the OAuth provider.
- OAuthFormAuthenticationFilter() - Constructor for class io.buji.oauth.filter.OAuthFormAuthenticationFilter
-
- OAuthPermissionsAuthorizationFilter - Class in io.buji.oauth.filter
-
This class specializes the PermissionsAuthorizationFilter to have a login url which is the authorization url of the OAuth provider.
- OAuthPermissionsAuthorizationFilter() - Constructor for class io.buji.oauth.filter.OAuthPermissionsAuthorizationFilter
-
- OAuthRealm - Class in io.buji.oauth
-
This realm implementation is dedicated to OAuth authentication.
- OAuthRealm() - Constructor for class io.buji.oauth.OAuthRealm
-
- OAuthRolesAuthorizationFilter - Class in io.buji.oauth.filter
-
This class specializes the RolesAuthorizationFilter to have a login url which is the authorization url of the OAuth provider.
- OAuthRolesAuthorizationFilter() - Constructor for class io.buji.oauth.filter.OAuthRolesAuthorizationFilter
-
- OAuthToken - Class in io.buji.oauth
-
This class represents a token for an OAuth authentication process (OAuth credential + user identifier after authentication).
- OAuthToken(OAuthCredential) - Constructor for class io.buji.oauth.OAuthToken
-
- OAuthUserFilter - Class in io.buji.oauth.filter
-
This class specializes the UserFilter to have a login url which is the authorization url of the OAuth provider.
- OAuthUserFilter() - Constructor for class io.buji.oauth.filter.OAuthUserFilter
-
- onAccessDenied(ServletRequest, ServletResponse) - Method in class io.buji.oauth.OAuthFilter
-
Execute login by creating
token and logging subject
with this token.
- onLoginFailure(AuthenticationToken, AuthenticationException, ServletRequest, ServletResponse) - Method in class io.buji.oauth.OAuthFilter
-
If login has failed, redirect user to the error page except if the user is already authenticated, in which case redirect to the
default success url.
- onLoginSuccess(AuthenticationToken, Subject, ServletRequest, ServletResponse) - Method in class io.buji.oauth.OAuthFilter
-
If login has been successful, redirect user to the original protected url.