Package | Description |
---|---|
org.openid4java.association | |
org.openid4java.consumer |
Provides functionality for OpenID-enabling Consumer (Relying Party) sites.
|
org.openid4java.message | |
org.openid4java.server |
Offers support for implementing an OpenID Provider server.
|
Modifier and Type | Method and Description |
---|---|
static DiffieHellmanSession |
DiffieHellmanSession.create(AssociationSessionType type,
DHParameterSpec dhParameterSpec) |
static DiffieHellmanSession |
DiffieHellmanSession.create(AssociationSessionType type,
String modulusBase64,
String generatorBase64) |
static AssociationSessionType |
AssociationSessionType.create(String sessType)
Creates a OpenID 2 AssociationSessionType with the specified session type
and HMAC-SHA1 association type.
|
static AssociationSessionType |
AssociationSessionType.create(String sessType,
String assocType)
Creates a OpenID 2 AssociationSessionType with the specified session and
association types.
|
static AssociationSessionType |
AssociationSessionType.create(String sessType,
String assocType,
boolean compatibility)
Creates a AssociationSessionType with the specified session and
association types.
|
byte[] |
DiffieHellmanSession.decryptMacKey(String encMacKeyBase64,
String serverPublicKeyBase64)
Decrypts the association AMC key.
|
String |
DiffieHellmanSession.encryptMacKey(byte[] macKey,
String consumerPublicKeyBase64)
Encrypts the association MAC key.
|
static Association |
Association.generate(String type,
String handle,
int expiryIn) |
protected byte[] |
Association.sign(byte[] data) |
String |
Association.sign(String text) |
boolean |
Association.verifySignature(String text,
String signature) |
Modifier and Type | Method and Description |
---|---|
VerificationResult |
ConsumerManager.verify(String receivingUrl,
ParameterList response,
DiscoveryInformation discovered)
Performs verification on the Authentication Response (assertion)
received from the OpenID Provider.
|
Modifier and Type | Method and Description |
---|---|
static AssociationResponse |
AssociationResponse.createAssociationResponse(AssociationRequest assocReq,
Association assoc) |
static AuthSuccess |
AuthSuccess.createAuthSuccess(String opEndpoint,
String claimedId,
String delegate,
boolean compatibility,
String returnTo,
String nonce,
String invalidateHandle,
Association assoc,
boolean signNow) |
Association |
AssociationResponse.getAssociation(DiffieHellmanSession dhSess)
Generates an Association object from an Association Response.
|
AssociationSessionType |
AssociationResponse.getType()
Gets the association / session type of the association response.
|
AssociationSessionType |
AssociationRequest.getType()
Gets the association / session type of the association request.
|
Constructor and Description |
---|
AssociationResponse(AssociationRequest assocReq,
Association assoc)
Constructs an AssociationResponse for a given association request.
|
AuthSuccess(String opEndpoint,
String claimedId,
String delegate,
boolean compatibility,
String returnTo,
String nonce,
String invalidateHandle,
Association assoc,
boolean signNow) |
Modifier and Type | Method and Description |
---|---|
Association |
ServerAssociationStore.generate(String type,
int expiryIn) |
Association |
JdbcServerAssociationStore.generate(String type,
int expiryIn) |
Association |
InMemoryServerAssociationStore.generate(String type,
int expiryIn) |
void |
ServerManager.sign(AuthSuccess authSuccess)
Signs an AuthSuccess message, using the association identified by the
handle specified within the message.
|
Copyright © 2013 Sxip. All Rights Reserved.