com.dyuproject.openid
Class OpenIdUser
java.lang.Object
com.dyuproject.openid.OpenIdUser
- All Implemented Interfaces:
- Serializable, org.mortbay.util.ajax.JSON.Convertible
public class OpenIdUser
- extends Object
- implements Serializable, org.mortbay.util.ajax.JSON.Convertible
The openid user where the identity, claimedId and association metadata are persisted.
- Author:
- David Yu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
OpenIdUser
public OpenIdUser()
isAssociated
public boolean isAssociated()
isAuthenticated
public boolean isAuthenticated()
getClaimedId
public String getClaimedId()
getOpenIdServer
public String getOpenIdServer()
getOpenIdDelegate
public String getOpenIdDelegate()
getIdentity
public String getIdentity()
getAssocHandle
public String getAssocHandle()
setAttribute
public void setAttribute(String key,
Object value)
getAttributes
public Map<String,Object> getAttributes()
getA
public Map<String,Object> getA()
getAttribute
public Object getAttribute(String name)
removeAttribute
public boolean removeAttribute(String name)
fromJSON
public void fromJSON(Map map)
- Specified by:
fromJSON
in interface org.mortbay.util.ajax.JSON.Convertible
toJSON
public void toJSON(org.mortbay.util.ajax.JSON.Output out)
- Specified by:
toJSON
in interface org.mortbay.util.ajax.JSON.Convertible
Copyright © 2013. All Rights Reserved.