@Typed(value=OpenIdRpBean.class) public class OpenIdRpBean extends EntityBean implements OpenIdRpBeanApi
hostName, port, protocol| Constructor and Description |
|---|
OpenIdRpBean() |
| Modifier and Type | Method and Description |
|---|---|
OpenIdRequestedAttribute |
createOpenIdRequestedAttribute(String alias,
String typeUri,
boolean required,
Integer count)
Creates a request to fetch a certain attribute from the OpenID Provider.
|
String |
getRealm()
Gets the realm that is used by the relying party.
|
String |
getReturnToPath() |
String |
getServiceURL(OpenIdService service) |
String |
getXrdsURL()
Gets the URL where the XRDS is served that can be used by OpenID providers
for relying party discovery.
|
void |
init(OpenIdConfiguration config) |
void |
login(String identifier,
List<OpenIdRequestedAttribute> attributes,
javax.servlet.http.HttpServletResponse response)
Start an OpenID login dialogue.
|
void |
setReturnToPath(String value) |
void |
writeRpXrds(Writer writer) |
createURL, getHostName, getPort, getProtocol, setHostName, setPort, setProtocolclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHostName, getPort, getProtocol, setHostName, setPort, setProtocol@Inject public void init(OpenIdConfiguration config)
public String getReturnToPath()
public void setReturnToPath(String value)
public void login(String identifier, List<OpenIdRequestedAttribute> attributes, javax.servlet.http.HttpServletResponse response)
OpenIdRelyingPartyApilogin in interface OpenIdRelyingPartyApiidentifier - either a Claimed Identifier (identifying the user) or an
OP Identifier (identifying the OpenID Provider where the user
has an account)attributes - attributes that are requested (they should have
different aliases)response - the HTTP servlet responsepublic String getServiceURL(OpenIdService service)
getServiceURL in interface OpenIdRpBeanApipublic String getRealm()
OpenIdRelyingPartyConfigurationApigetRealm in interface OpenIdRelyingPartyConfigurationApipublic String getXrdsURL()
OpenIdRelyingPartyConfigurationApigetXrdsURL in interface OpenIdRelyingPartyConfigurationApipublic void writeRpXrds(Writer writer)
writeRpXrds in interface OpenIdRpBeanApipublic OpenIdRequestedAttribute createOpenIdRequestedAttribute(String alias, String typeUri, boolean required, Integer count)
OpenIdRelyingPartyApiOpenIdRelyingPartyApi.login(java.lang.String, java.util.List<org.jboss.seam.security.external.openid.api.OpenIdRequestedAttribute>, javax.servlet.http.HttpServletResponse) method.createOpenIdRequestedAttribute in interface OpenIdRelyingPartyApialias - name that identifies this requested attributetypeUri - attribute type identifierrequired - indicates whether the attribute is requiredcount - indicates the maximum number of values to be returned by the
provider; must be at least 1Copyright © 2013 Seam Framework. All Rights Reserved.