Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
G
I
O
S
C
createToken(ServletRequest, ServletResponse)
- Method in class io.buji.oauth.
OAuthFilter
The token created for this authentication is an OAuthToken containing the OAuth credential received after authentication at the OAuth provider.
D
doGetAuthenticationInfo(AuthenticationToken)
- Method in class io.buji.oauth.
OAuthRealm
Authenticates a user and retrieves its user profile.
doGetAuthorizationInfo(PrincipalCollection)
- Method in class io.buji.oauth.
OAuthRealm
Retrieves the AuthorizationInfo for the given principals.
G
getAttribute(String)
- Method in class io.buji.oauth.
ShiroUserSession
getCredentials()
- Method in class io.buji.oauth.
OAuthToken
getLoginUrl()
- Method in class io.buji.oauth.filter.
OAuthFormAuthenticationFilter
getLoginUrl()
- Method in class io.buji.oauth.filter.
OAuthPermissionsAuthorizationFilter
getLoginUrl()
- Method in class io.buji.oauth.filter.
OAuthRolesAuthorizationFilter
getLoginUrl()
- Method in class io.buji.oauth.filter.
OAuthUserFilter
getPrincipal()
- Method in class io.buji.oauth.
OAuthToken
I
io.buji.oauth
- package io.buji.oauth
io.buji.oauth.filter
- package io.buji.oauth.filter
isAccessAllowed(ServletRequest, ServletResponse, Object)
- Method in class io.buji.oauth.
OAuthFilter
Returns
false
to always force authentication (user is never considered authenticated by this filter).
O
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.
S
setAttribute(String, Object)
- Method in class io.buji.oauth.
ShiroUserSession
setDefaultPermissions(String)
- Method in class io.buji.oauth.
OAuthRealm
setDefaultRoles(String)
- Method in class io.buji.oauth.
OAuthRealm
setFailureUrl(String)
- Method in class io.buji.oauth.
OAuthFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.filter.
OAuthFormAuthenticationFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.filter.
OAuthPermissionsAuthorizationFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.filter.
OAuthRolesAuthorizationFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.filter.
OAuthUserFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.
OAuthFilter
setProvider(OAuthProvider)
- Method in class io.buji.oauth.
OAuthRealm
setUserId(String)
- Method in class io.buji.oauth.
OAuthToken
ShiroUserSession
- Class in
io.buji.oauth
This implementation uses the Shiro session for the user session.
ShiroUserSession()
- Constructor for class io.buji.oauth.
ShiroUserSession
split(String)
- Method in class io.buji.oauth.
OAuthRealm
Split a string into a list of not empty and trimmed strings, delimiter is a comma.
C
D
G
I
O
S
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012. All Rights Reserved.