com.dyuproject.openid
Interface Association
- All Known Implementing Classes:
- DiffieHellmanAssociation
public interface Association
Association - associates and verifies whether the openid provider's response tied to
the OpenIdUser
is authentic.
- Author:
- David Yu
- Date created:
- Sep 10, 2008
ASSOC_HMAC_SHA1
static final String ASSOC_HMAC_SHA1
- See Also:
- Constant Field Values
ASSOC_HMAC_SHA256
static final String ASSOC_HMAC_SHA256
- See Also:
- Constant Field Values
SESSION_NO_ENCRYPTION
static final String SESSION_NO_ENCRYPTION
- See Also:
- Constant Field Values
SESSION_DH_SHA1
static final String SESSION_DH_SHA1
- See Also:
- Constant Field Values
SESSION_DH_SHA256
static final String SESSION_DH_SHA256
- See Also:
- Constant Field Values
associate
boolean associate(OpenIdUser user,
OpenIdContext context)
throws Exception
- Associates the user with his openid provider and stores the association data for
future verification.
- Throws:
Exception
verifyAuth
boolean verifyAuth(OpenIdUser user,
Map<String,String> authRedirect,
OpenIdContext context)
throws Exception
- Verifies the authentication response by validating against the previous
association data stored from
associate(OpenIdUser, OpenIdContext)
- Throws:
Exception
Copyright © 2008-2013. All Rights Reserved.