public class OpenIDProviderManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenIDProviderManager.OpenIDMessage
Class to hold the open id message
|
| Constructor and Description |
|---|
OpenIDProviderManager() |
| Modifier and Type | Method and Description |
|---|---|
OpenIDProviderManager.OpenIDMessage |
getDirectError(String msg)
Create an error message that needs to be passed to the RP
|
String |
getEndPoint()
Get the end point where the provider is active
|
void |
initialize()
Initialize internal data structures
|
void |
initialize(org.openid4java.server.ServerAssociationStore... sharedAssociationStore)
Initialize the Shared Association and Private Association stores
|
OpenIDProviderManager.OpenIDMessage |
processAssociationRequest(org.openid4java.message.ParameterList requestParams)
Process a request for association from the RP
|
OpenIDProviderManager.OpenIDMessage |
processAuthenticationRequest(org.openid4java.message.ParameterList requestParams,
String userSelId,
String userSelClaimed,
boolean authenticatedAndApproved)
Process a request from the RP/Relying Party (or OpenID Consumer) for authenticating an user
|
void |
setEndPoint(String url)
Set the end point where the provider is active
|
OpenIDProviderManager.OpenIDMessage |
verify(org.openid4java.message.ParameterList requestParams)
Process a verification request from RP for an already authenticated user
|
public void initialize()
public void initialize(org.openid4java.server.ServerAssociationStore... sharedAssociationStore)
sharedAssociationStore - a set of 2 association stores ServerAssociationStore{@code - IllegalArgumentException} if the number of stores is not 2public String getEndPoint()
public void setEndPoint(String url)
url - public OpenIDProviderManager.OpenIDMessage processAuthenticationRequest(org.openid4java.message.ParameterList requestParams, String userSelId, String userSelClaimed, boolean authenticatedAndApproved)
requestParams - userSelId - userSelClaimed - authenticatedAndApproved - public OpenIDProviderManager.OpenIDMessage processAssociationRequest(org.openid4java.message.ParameterList requestParams)
requestParams - public OpenIDProviderManager.OpenIDMessage verify(org.openid4java.message.ParameterList requestParams)
requestParams - public OpenIDProviderManager.OpenIDMessage getDirectError(String msg)
msg - Copyright © 2014 JBoss Inc.. All Rights Reserved.