|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OpenIDAuthenticationManager
| Method Summary | |
|---|---|
OpenIDAuthResponse |
allowRequest(User user,
long profileID,
OpenIDAuthRequest authReq,
boolean alwaysAllow)
Process a request if the "allow" or "allow always" action is taken by the user when a site has requested authentication. |
OpenIDAuthResponse |
autoAllowRequest(User user,
OpenIDAuthRequest authReq)
Processes a request if the "allow_always" flag has been set for the requesting site. |
OpenIDAuthResponse |
checkImmediate(SOAPPrincipal principal,
java.util.Locale locale,
OpenIDAuthRequest authReq)
A convenience wrapper for the autoAllowRequest method. |
OpenIDAuthResponse |
denyRequest(User user,
OpenIDAuthRequest authReq)
Process a request if the "deny" action is taken by the user when a site has requested authentication. |
void |
validateRequest(User user,
OpenIDAuthRequest authReq)
Validates the OpenID authentication request. |
| Method Detail |
|---|
void validateRequest(User user,
OpenIDAuthRequest authReq)
throws InvalidRequestException,
SiteDisallowedException,
IdentifierViolationException
user - logged in user.authReq - OpenID authentication request.
InvalidRequestException - if authReq is null or the return_to URL is invalid/malformed.
SiteDisallowedException - if the site is disallowed by whitelist/blacklist or the site is localhost and local return_to URLs have been disallowed.
IdentifierViolationException - if the principal does not own the OpenID identifier.
OpenIDAuthResponse autoAllowRequest(User user,
OpenIDAuthRequest authReq)
user - user processing request.authReq - OpenIDAuthRequest being processed.
OpenIDAuthResponse denyRequest(User user,
OpenIDAuthRequest authReq)
user - user processing request.authReq - OpenIDAuthRequest being processed.
OpenIDAuthResponse allowRequest(User user,
long profileID,
OpenIDAuthRequest authReq,
boolean alwaysAllow)
user - user processing request.profileID - ID of profile containing attributes to be used in response.authReq - OpenIDAuthRequest being processed.alwaysAllow - true if the user wants to trust the site.
OpenIDAuthResponse checkImmediate(SOAPPrincipal principal,
java.util.Locale locale,
OpenIDAuthRequest authReq)
principal - principal corresponding to logged in user.locale - locale of the logged in user.authReq - authentication request of the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||