public class OpenIDUserRPDAO extends Object
Constructor and Description |
---|
OpenIDUserRPDAO() |
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdate(OpenIDUserRPDO rpdo,
int tenantId)
Creates a Relying Party and associates it with the User.
|
void |
delete(OpenIDUserRPDO opdo,
int tenantId)
Remove the entry from the database.
|
OpenIDUserRPDO[] |
getAllOpenIDUserRP()
Returns all registered relying parties
|
String |
getOpenIDDefaultUserProfile(String userName,
String rpUrl,
int tenantId)
Returns the default user profile corresponding to the given user name and
the RP URL.
|
OpenIDUserRPDO |
getOpenIDUserRP(String userName,
String rpUrl,
int tenantId)
Returns relying party user settings corresponding to a given user name.
|
OpenIDUserRPDO[] |
getOpenIDUserRPs(String userName,
int tenantId)
Returns relying party user settings corresponding to a given user name.
|
void |
update(OpenIDUserRPDO rpdo,
int tenantId)
Updates the Relying Party if exists, if not, then creates a new Relying
Party
|
public void createOrUpdate(OpenIDUserRPDO rpdo, int tenantId)
rpdo
- public void update(OpenIDUserRPDO rpdo, int tenantId)
rpdo
- public void delete(OpenIDUserRPDO opdo, int tenantId)
opdo
- public OpenIDUserRPDO getOpenIDUserRP(String userName, String rpUrl, int tenantId)
userName
- Unique user namerpUrl
- Relying party urlupdateOpenIDUserRPInfopublic OpenIDUserRPDO[] getAllOpenIDUserRP()
public OpenIDUserRPDO[] getOpenIDUserRPs(String userName, int tenantId)
userName
- Unique user nameCopyright © 2019 WSO2. All rights reserved.