|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OpenIdUser | |
---|---|
com.dyuproject.openid | |
com.dyuproject.openid.ext | |
com.dyuproject.openid.manager |
Uses of OpenIdUser in com.dyuproject.openid |
---|
Methods in com.dyuproject.openid that return OpenIdUser | |
---|---|
OpenIdUser |
RelyingParty.discover(HttpServletRequest request)
Return the current user, either an already authenticated one, or the one just discovered from the openid.identifier.parameter (= "openid_identifier" by default). Returns null if the Constants.OPENID_MODE associated
with the request is set to Constants.Mode.CANCEL
(in order to login under a different id),
or if the authentification is timed out.If returned user is null
and RelyingParty.isAuthResponse(HttpServletRequest) is true
then we have an authentication timeout. |
protected OpenIdUser |
RelyingParty.discover(Identifier identifier,
HttpServletRequest request)
|
OpenIdUser |
Discovery.discover(Identifier identifier,
OpenIdContext context)
Discovers the user's openid server endpoint and local id (optional). |
OpenIdUser |
RegexHtmlBasedDiscovery.discover(Identifier identifier,
OpenIdContext context)
|
OpenIdUser |
ChainedDiscovery.discover(Identifier identifier,
OpenIdContext context)
|
OpenIdUser |
YadisDiscovery.discover(Identifier identifier,
OpenIdContext context)
|
OpenIdUser |
HtmlBasedDiscovery.discover(Identifier identifier,
OpenIdContext context)
|
OpenIdUser |
IdentifierSelectUserCache.get(String key,
boolean clone)
|
OpenIdUser |
Discovery.UserCache.get(String key,
boolean clone)
Gets the user assoicated with the given key from the cache;
The flag clone is whether to create a different instance containting
the same properties (useful when the OpenIdUser is not deserialized but instead
held in memory). |
OpenIdUser |
OpenIdUserManager.getUser(HttpServletRequest request)
Gets/reads the user associated with the given request . |
static OpenIdUser |
OpenIdUser.populate(OpenIdUser user)
Populate/clone the provided user . |
static OpenIdUser |
OpenIdUser.populate(String identifier,
String claimedId,
String openIdServer)
Creates a new OpenIdUser pre-populated with discovery data (to skip discovery). |
static OpenIdUser |
OpenIdUser.populate(String identifier,
String claimedId,
String openIdServer,
String openIdDelegate)
Creates a new OpenIdUser pre-populated with discovery data (to skip discovery). |
Methods in com.dyuproject.openid with parameters of type OpenIdUser | |
---|---|
boolean |
RelyingParty.associate(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
Returns true if the user is successfully associated with his openid provider; The OpenIdUser is persisted if successful. |
boolean |
Association.associate(OpenIdUser user,
OpenIdContext context)
Associates the user with his openid provider and stores the association data for future verification. |
boolean |
DiffieHellmanAssociation.associate(OpenIdUser user,
OpenIdContext context)
|
boolean |
RelyingParty.associateAndAuthenticate(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response,
String trustRoot,
String realm,
String returnTo)
Returns true if the user is successfully associated and redirected to his openid provider for authentication; The OpenIdUser is persisted if successful. |
boolean |
RelyingParty.authenticate(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response,
String trustRoot,
String realm,
String returnTo)
|
static StringBuilder |
RelyingParty.getAuthUrlBuffer(OpenIdUser user,
String trustRoot,
String realm,
String returnTo)
Gets the StringBuilder filled with the openid parameters that is used to redirect the user to his openid provider. |
static UrlEncodedParameterMap |
RelyingParty.getAuthUrlMap(OpenIdUser user,
String trustRoot,
String realm,
String returnTo)
Gets the UrlEncodedParameterMap filled with the openid parameters that is used to redirect the user to his openid provider. |
static String |
RelyingParty.getAuthUrlString(OpenIdUser user,
String trustRoot,
String realm,
String returnTo)
Gets the string url with the openid parameters that is used to redirect the user to his openid provider. |
void |
RelyingParty.Listener.onAccess(OpenIdUser user,
HttpServletRequest request)
Callback that gets called everytime an authenticated user accesses protected pages from the relying party's site. |
void |
RelyingParty.ListenerCollection.onAccess(OpenIdUser user,
HttpServletRequest request)
|
void |
RelyingParty.Listener.onAuthenticate(OpenIdUser user,
HttpServletRequest request)
Callback that gets called when the user has been redirected back to the relying party's site and his authentication has been successfully verified. |
void |
RelyingParty.ListenerCollection.onAuthenticate(OpenIdUser user,
HttpServletRequest request)
|
void |
RelyingParty.Listener.onDiscovery(OpenIdUser user,
HttpServletRequest request)
Callback that gets called upon successful discovery. |
void |
RelyingParty.ListenerCollection.onDiscovery(OpenIdUser user,
HttpServletRequest request)
|
void |
RelyingParty.Listener.onPreAuthenticate(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params)
Callback that gets called before the user is redirected to this provider for authentication. |
void |
RelyingParty.ListenerCollection.onPreAuthenticate(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params)
|
static OpenIdUser |
OpenIdUser.populate(OpenIdUser user)
Populate/clone the provided user . |
void |
IdentifierSelectUserCache.put(String key,
OpenIdUser user)
|
void |
Discovery.UserCache.put(String key,
OpenIdUser user)
Puts the user associated with the key in the cache. |
boolean |
OpenIdUserManager.saveUser(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
Saves/persists the user associated with the given request . |
boolean |
RelyingParty.verifyAuth(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
Returns true if the user has succeeded authentication on his openid provider; The OpenIdUser is persisted if successful. |
boolean |
Association.verifyAuth(OpenIdUser user,
Map<String,String> authRedirect,
OpenIdContext context)
Verifies the authentication response by validating against the previous association data stored from Association.associate(OpenIdUser, OpenIdContext) |
boolean |
DiffieHellmanAssociation.verifyAuth(OpenIdUser user,
Map<String,String> authRedirect,
OpenIdContext context)
|
Uses of OpenIdUser in com.dyuproject.openid.ext |
---|
Methods in com.dyuproject.openid.ext with parameters of type OpenIdUser | |
---|---|
static Map<String,String> |
AxSchemaExtension.get(OpenIdUser user)
Gets the axchema value set on the user . |
static Map<String,String> |
SRegExtension.get(OpenIdUser user)
Gets the sreg value set on the user . |
void |
AbstractExtension.onAccess(OpenIdUser user,
HttpServletRequest request)
Not needed by an extension. |
void |
AxSchemaExtension.onAuthenticate(OpenIdUser user,
HttpServletRequest request)
|
void |
SRegExtension.onAuthenticate(OpenIdUser user,
HttpServletRequest request)
|
void |
AbstractExtension.onDiscovery(OpenIdUser user,
HttpServletRequest request)
Not needed by an extension. |
void |
AxSchemaExtension.onPreAuthenticate(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params)
|
void |
SRegExtension.onPreAuthenticate(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params)
|
void |
AxSchemaExtension.AbstractExchange.parseAndPut(OpenIdUser user,
HttpServletRequest request,
Map<String,String> attributes,
String extensionAlias)
|
void |
Extension.Exchange.parseAndPut(OpenIdUser user,
HttpServletRequest request,
Map<String,String> attributes,
String extensionAlias)
Parses a single field parameter as a response from the user's openid provider and puts it in the attributes map. |
void |
SRegExtension.SimpleExchange.parseAndPut(OpenIdUser user,
HttpServletRequest request,
Map<String,String> attributes,
String extensionAlias)
|
void |
AxSchemaExtension.AbstractExchange.put(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params,
String extensionAlias)
|
void |
Extension.Exchange.put(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params,
String extensionAlias)
Puts a single field parameter on the params to be included in the request. |
void |
SRegExtension.SimpleExchange.put(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params,
String extensionAlias)
|
static Map<String,String> |
AxSchemaExtension.remove(OpenIdUser user)
Removes the axchema value set on the user . |
static Map<String,String> |
SRegExtension.remove(OpenIdUser user)
Removes the sreg value set on the user . |
Uses of OpenIdUser in com.dyuproject.openid.manager |
---|
Methods in com.dyuproject.openid.manager that return OpenIdUser | |
---|---|
OpenIdUser |
HttpSessionUserManager.getUser(HttpServletRequest request)
|
OpenIdUser |
CookieBasedUserManager.getUser(HttpServletRequest request)
|
Methods in com.dyuproject.openid.manager with parameters of type OpenIdUser | |
---|---|
boolean |
HttpSessionUserManager.saveUser(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
|
boolean |
CookieBasedUserManager.saveUser(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |