org.openid4java.discovery
Class UrlIdentifier
java.lang.Object
org.openid4java.discovery.UrlIdentifier
- All Implemented Interfaces:
- Serializable, Identifier
public class UrlIdentifier
- extends Object
- implements Identifier
- Author:
- Marius Scurtescu, Johnny Bufu
- See Also:
- Serialized Form
UrlIdentifier
public UrlIdentifier(String identifier)
throws DiscoveryException
- Throws:
DiscoveryException
UrlIdentifier
public UrlIdentifier(String identifier,
boolean removeFragment)
throws DiscoveryException
- Throws:
DiscoveryException
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier in interface Identifier
toString
public String toString()
- Overrides:
toString in class Object
getUrl
public URL getUrl()
normalize
public static URL normalize(String text)
throws DiscoveryException
- Throws:
DiscoveryException
normalize
public static URL normalize(String text,
boolean removeFragment)
throws DiscoveryException
- Throws:
DiscoveryException
Copyright © 2013 Sxip. All Rights Reserved.