public class OpenIDUserDAO extends AbstractDAO<OpenIDUserDO>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
registry
Constructor and Description |
---|
OpenIDUserDAO(org.wso2.carbon.registry.core.Registry registry,
org.wso2.carbon.user.core.UserRealm realm) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAssociation(OpenIDUserDO openIDuserDO) |
String[] |
getOpenIDsForUser(String username)
Get all OpenIDs of an user
|
String |
getUserIdForAssociation(String openId) |
boolean |
hasAssociation(String openId) |
void |
removeOpenIDSignUp(String openID) |
protected OpenIDUserDO |
resourceToObject(org.wso2.carbon.registry.core.Resource resource)
Converts a registry resource to an object.
|
getAllObjects, getAllObjectsWithPropertyValue, getFirstObjectWithPropertyValue
public OpenIDUserDAO(org.wso2.carbon.registry.core.Registry registry, org.wso2.carbon.user.core.UserRealm realm)
protected OpenIDUserDO resourceToObject(org.wso2.carbon.registry.core.Resource resource)
AbstractDAO
resourceToObject
in class AbstractDAO<OpenIDUserDO>
resource
- registry resourcepublic boolean addAssociation(OpenIDUserDO openIDuserDO)
public boolean hasAssociation(String openId)
public String[] getOpenIDsForUser(String username)
username
- public void removeOpenIDSignUp(String openID)
Copyright © 2019 WSO2. All rights reserved.