Search in sources :

Example 1 with UniqueIDUserClaimSearchEntryDAO

use of org.wso2.carbon.identity.test.integration.service.dao.UniqueIDUserClaimSearchEntryDAO in project product-is by wso2.

the class UUIDUserStoreManagerService method getClaimSearchEntryDAOFromClaimSearchEntry.

private UniqueIDUserClaimSearchEntryDAO getClaimSearchEntryDAOFromClaimSearchEntry(UniqueIDUserClaimSearchEntry claimSearchEntry) {
    UniqueIDUserClaimSearchEntryDAO uniqueIDUserClaimSearchEntryDAO = new UniqueIDUserClaimSearchEntryDAO();
    ClaimValue[] claimValues = convertMapToClaimValue(claimSearchEntry.getClaims());
    uniqueIDUserClaimSearchEntryDAO.setClaims(claimValues);
    uniqueIDUserClaimSearchEntryDAO.setUser(getUserDTO(claimSearchEntry.getUser()));
    uniqueIDUserClaimSearchEntryDAO.setUserClaimSearchEntry(getClaimEntryDAOFromClaimEntry(claimSearchEntry.getUserClaimSearchEntry()));
    return uniqueIDUserClaimSearchEntryDAO;
}
Also used : UniqueIDUserClaimSearchEntryDAO(org.wso2.carbon.identity.test.integration.service.dao.UniqueIDUserClaimSearchEntryDAO) ClaimValue(org.wso2.carbon.identity.test.integration.service.dao.ClaimValue)

Aggregations

ClaimValue (org.wso2.carbon.identity.test.integration.service.dao.ClaimValue)1 UniqueIDUserClaimSearchEntryDAO (org.wso2.carbon.identity.test.integration.service.dao.UniqueIDUserClaimSearchEntryDAO)1