org.jboss.seam.security.external.openid.api
Interface OpenIdRelyingPartyConfigurationApi

All Superinterfaces:
EntityConfigurationApi
All Known Implementing Classes:
OpenIdRpBean

public interface OpenIdRelyingPartyConfigurationApi
extends EntityConfigurationApi

API for accessing the OpenID Relying Party configuration

Author:
Marcel Kolsteren

Method Summary
 String getRealm()
          Gets the realm that is used by the relying party.
 String getXrdsURL()
          Gets the URL where the XRDS is served that can be used by OpenID providers for relying party discovery.
 
Methods inherited from interface org.jboss.seam.security.external.api.EntityConfigurationApi
getHostName, getPort, getProtocol, setHostName, setPort, setProtocol
 

Method Detail

getXrdsURL

String getXrdsURL()
Gets the URL where the XRDS is served that can be used by OpenID providers for relying party discovery. The XRDS document served at this URL is described in the OpenID 2.0 Authentication specification, section 13. Remark that some OpenID providers (e.g. Yahoo) require that a Yadis discovery on the realm also results in this document. Meeting this requirement is beyond the responsibility and beyond the reach of the Seam OpenID module, because the realm URL is not "handled" by the web application in which the OpenID module lives. Consult the Seam Security documentation for further details about setting up the realm-based discovery.

Returns:
the URL

getRealm

String getRealm()
Gets the realm that is used by the relying party. A "realm" is a pattern that represents the part of URL-space for which an OpenID Authentication request is valid. See OpenID 2.0 Authentication specification, section 9.2. The OpenID provider uses the realm as the name of the the relying party site that is presented to the end user.

Returns:
the realm


Copyright © 2011 Seam Framework. All Rights Reserved.