Tsukuyomi OpenID
0.2.0

jp.sourceforge.tsukuyomi.openid.discovery.impl
クラス DiscoveryImpl

java.lang.Object
  上位を拡張 jp.sourceforge.tsukuyomi.openid.discovery.impl.DiscoveryImpl
すべての実装されたインタフェース:
Discovery

public class DiscoveryImpl
extends Object
implements Discovery


コンストラクタの概要
DiscoveryImpl()
           
 
メソッドの概要
 List<DiscoveryInformation> discover(Identifier identifier)
           
protected static List<DiscoveryInformation> extractDiscoveryInformation(org.openxri.xml.XRDS xrds, Identifier identifier)
          Extracts OpenID discovery endpoints from a XRDS discovery result.
protected static List<DiscoveryInformation> extractDiscoveryInformation(org.openxri.xml.XRDS xrds, XriIdentifier identifier, org.openxri.resolve.Resolver xriResolver)
          Extracts OpenID discovery endpoints from a XRDS discovery result for XRI identifiers.
static boolean extractDiscoveryInformationOpenID(org.openxri.resolve.Resolver xriResolver, ArrayList<DiscoveryInformation> out, org.openxri.xml.XRD baseXRD, XriIdentifier identifier, String srvType, boolean wantCID)
           
static String getDelegate(org.openxri.xml.Service service, boolean compatibility)
           
static boolean matchType(org.openxri.xml.Service service, String sVal)
           
 void setHtmlResolver(HtmlResolver htmlResolver)
           
 void setYadisResolver(YadisResolver yadisResolver)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DiscoveryImpl

public DiscoveryImpl()
メソッドの詳細

discover

public List<DiscoveryInformation> discover(Identifier identifier)
                                    throws DiscoveryException,
                                           IdentifierException
定義:
インタフェース Discovery 内の discover
例外:
DiscoveryException
IdentifierException

extractDiscoveryInformationOpenID

public static boolean extractDiscoveryInformationOpenID(org.openxri.resolve.Resolver xriResolver,
                                                        ArrayList<DiscoveryInformation> out,
                                                        org.openxri.xml.XRD baseXRD,
                                                        XriIdentifier identifier,
                                                        String srvType,
                                                        boolean wantCID)

extractDiscoveryInformation

protected static List<DiscoveryInformation> extractDiscoveryInformation(org.openxri.xml.XRDS xrds,
                                                                        Identifier identifier)
                                                                 throws DiscoveryException,
                                                                        IdentifierException
Extracts OpenID discovery endpoints from a XRDS discovery result. Can be used for both URLs and XRIs, however the extractDiscoveryInformation(XRDS, XriIdentifier, Resolver) offers additional functionality for XRIs.

パラメータ:
xrds - The discovered XRDS document.
identifier - The identifier on which discovery was performed.
戻り値:
A list of DiscoveryInformation endpoints.
例外:
DiscoveryException - when invalid information is discovered.
IdentifierException

matchType

public static boolean matchType(org.openxri.xml.Service service,
                                String sVal)

getDelegate

public static String getDelegate(org.openxri.xml.Service service,
                                 boolean compatibility)

extractDiscoveryInformation

protected static List<DiscoveryInformation> extractDiscoveryInformation(org.openxri.xml.XRDS xrds,
                                                                        XriIdentifier identifier,
                                                                        org.openxri.resolve.Resolver xriResolver)
                                                                 throws DiscoveryException
Extracts OpenID discovery endpoints from a XRDS discovery result for XRI identifiers.

パラメータ:
xrds - The discovered XRDS document.
identifier - The identifier on which discovery was performed.
xriResolver - The XRI resolver to use for extraction of OpenID service endpoints.
戻り値:
A list of DiscoveryInformation endpoints.
例外:
DiscoveryException - when invalid information is discovered.

setYadisResolver

public void setYadisResolver(YadisResolver yadisResolver)

setHtmlResolver

public void setHtmlResolver(HtmlResolver htmlResolver)

Tsukuyomi OpenID
0.2.0

Copyright © 2008 Project Tsukuyomi. All Rights Reserved.