Package | Description |
---|---|
org.openid4java.consumer |
Provides functionality for OpenID-enabling Consumer (Relying Party) sites.
|
org.openid4java.message | |
org.openid4java.message.ax | |
org.openid4java.message.pape | |
org.openid4java.message.sreg |
Modifier and Type | Method and Description |
---|---|
AuthRequest |
ConsumerManager.authenticate(DiscoveryInformation discovered,
String returnToUrl)
Builds a authentication request message for the user specified in the
discovery information provided as a parameter.
|
AuthRequest |
ConsumerManager.authenticate(DiscoveryInformation discovered,
String returnToUrl,
String realm)
Builds a authentication request message for the user specified in the
discovery information provided as a parameter.
|
AuthRequest |
ConsumerManager.authenticate(List discoveries,
String returnToUrl)
Builds a authentication request message for the user specified in the
discovery information provided as a parameter.
|
AuthRequest |
ConsumerManager.authenticate(List discoveries,
String returnToUrl,
String realm)
Builds a authentication request message for the user specified in the
discovery information provided as a parameter.
|
void |
VerificationResult.setOPSetupUrl(String opSetupUrl)
Sets the OP user_setup_url parameter, if one was returned in a failure
response to a immediate authentication request.
|
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 |
---|---|
void |
Message.addExtension(MessageExtension extension)
Adds a set of extension-specific parameters to a message.
|
String |
Message.addExtension(MessageExtension extension,
String preferredAlias)
Adds a set of extension-specific parameters to a message,
trying to use the supplied preferredAlias
if the supplied alias is not already taken.
|
static void |
Message.addExtensionFactory(Class clazz)
Adds a new extension factory.
|
static AssociationRequest |
AssociationRequest.createAssociationRequest(AssociationSessionType type) |
static AssociationRequest |
AssociationRequest.createAssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess) |
static AssociationRequest |
AssociationRequest.createAssociationRequest(ParameterList params) |
static AssociationResponse |
AssociationResponse.createAssociationResponse(AssociationRequest assocReq,
Association assoc) |
static AssociationResponse |
AssociationResponse.createAssociationResponse(ParameterList params) |
static AuthFailure |
AuthFailure.createAuthFailure(ParameterList params) |
static AuthImmediateFailure |
AuthImmediateFailure.createAuthImmediateFailure(ParameterList params) |
static AuthImmediateFailure |
AuthImmediateFailure.createAuthImmediateFailure(String url,
String returnTo,
boolean compatibility) |
static AuthRequest |
AuthRequest.createAuthRequest(ParameterList params,
RealmVerifier realmVerifier) |
static AuthRequest |
AuthRequest.createAuthRequest(String claimedId,
String delegate,
boolean compatibility,
String returnToUrl,
String handle,
RealmVerifier verifier) |
static AuthRequest |
AuthRequest.createAuthRequest(String claimedId,
String delegate,
boolean compatibility,
String returnToUrl,
String handle,
String realm,
RealmVerifier verifier) |
static AuthSuccess |
AuthSuccess.createAuthSuccess(ParameterList params) |
static AuthSuccess |
AuthSuccess.createAuthSuccess(String opEndpoint,
String claimedId,
String delegate,
boolean compatibility,
String returnTo,
String nonce,
String invalidateHandle,
Association assoc,
boolean signNow) |
static ParameterList |
ParameterList.createFromKeyValueForm(String keyValueForm) |
static ParameterList |
ParameterList.createFromQueryString(String queryString)
Create a parameter list based on a URL encoded HTTP query string.
|
static Message |
Message.createMessage() |
static Message |
Message.createMessage(ParameterList params) |
static VerifyRequest |
VerifyRequest.createVerifyRequest(AuthSuccess authResp) |
static VerifyRequest |
VerifyRequest.createVerifyRequest(ParameterList params) |
static VerifyResponse |
VerifyResponse.createVerifyResponse(boolean compatibility) |
static VerifyResponse |
VerifyResponse.createVerifyResponse(ParameterList params) |
MessageExtension |
MessageExtensionFactory.getExtension(ParameterList parameterList,
boolean isRequest)
Builds a MessageExtension from a parameter list containing the
extension-specific parameters.
|
MessageExtension |
Message.getExtension(String typeUri)
Gets a MessageExtension for the specified Type URI if an implementation
is available, or null otherwise.
|
void |
AuthSuccess.setMode(String mode) |
void |
AuthImmediateFailure.validate() |
void |
VerifyRequest.validate() |
void |
AuthFailure.validate() |
void |
VerifyResponse.validate() |
void |
AuthSuccess.validate() |
void |
AuthRequest.validate() |
void |
AssociationRequest.validate()
Checks if the message is a valid OpenID Association Request.
|
void |
AssociationError.validate() |
void |
Message.validate()
Checks that all required parameters are present
|
void |
AssociationResponse.validate()
Checks if the message is a valid OpenID Association Response..
|
Modifier and Type | Method and Description |
---|---|
String |
FetchRequest.addAttribute(String typeUri,
boolean required)
Adds an attribute to the fetch request, with a default value-count of 1.
|
void |
FetchRequest.addAttribute(String alias,
String typeUri,
boolean required)
Adds an attribute to the fetch request, with a default value-count of 1.
|
void |
FetchRequest.addAttribute(String alias,
String typeUri,
boolean required,
int count)
Adds an attribute to the fetch request.
|
void |
AxPayload.addAttribute(String alias,
String typeUri,
String value)
Adds an attribute to the attribute payload.
|
static FetchRequest |
FetchRequest.createFetchRequest(ParameterList params)
Constructs a FetchRequest from a parameter list.
|
static FetchResponse |
FetchResponse.createFetchResponse(FetchRequest req,
Map userData)
Creates a FetchResponse from a FetchRequest message and the data released
by the user.
|
static FetchResponse |
FetchResponse.createFetchResponse(ParameterList params) |
static StoreRequest |
StoreRequest.createStoreRequest(ParameterList params)
Constructs a StoreRequest from a parameter list.
|
static StoreResponse |
StoreResponse.createStoreResponse(ParameterList params)
Constructs a StoreResponse from a parameter list.
|
MessageExtension |
AxMessage.getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate Attribute Exchange object (fetch / store -
request / response) for the supplied parameter list.
|
void |
FetchRequest.setUpdateUrl(String updateUrl)
Sets the optional 'update_url' parameter where the OP can later re-post
fetch-response updates to the values of the requested attributes.
|
void |
FetchResponse.setUpdateUrl(String updateUrl)
Sets the optional 'update_url' parameter where the OP can later re-post
fetch-response updates for the values of the requested attributes.
|
Modifier and Type | Method and Description |
---|---|
static PapeRequest |
PapeRequest.createPapeRequest(ParameterList params)
Constructs a PapeRequest from a parameter list.
|
static PapeResponse |
PapeResponse.createPapeResponse(ParameterList params) |
MessageExtension |
PapeMessage.getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate OpenID Provider Authentication Policy
extension object (request / response) for the supplied parameter
list.
|
void |
PapeRequest.validate()
Checks the validity of the extension.
|
Modifier and Type | Method and Description |
---|---|
void |
SRegResponse.addAttribute(String attr,
String value)
Adds an attribute to the SReg response.
|
static SRegRequest |
SRegRequest.createSRegRequest(ParameterList params)
Constructs a SRegRequest from a parameter list.
|
static SRegResponse |
SRegResponse.createSRegResponse(ParameterList params) |
static SRegResponse |
SRegResponse.createSRegResponse(SRegRequest req,
Map userData)
Creates a SRegResponse from a SRegRequest message and the data released
by the user.
|
MessageExtension |
SReg11ExtensionFactory.getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate Simple Registration object
(request / response) for the supplied parameter list.
|
MessageExtension |
SRegMessage.getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate Simple Registration object
(request / response) for the supplied parameter list.
|
void |
SRegRequest.setPolicyUrl(String policyUrl)
Sets the optional policy URL.
|
Copyright © 2015 Sxip. All rights reserved.