Search in sources :

Example 1 with CORSApplicationObject

use of org.wso2.carbon.identity.api.server.cors.v1.model.CORSApplicationObject in project identity-api-server by wso2.

the class CORSApplicationToCORSApplicationObject method apply.

@Override
public CORSApplicationObject apply(CORSApplication corsApplication) {
    CORSApplicationObject corsApplicationObject = new CORSApplicationObject();
    corsApplicationObject.setId(corsApplication.getId());
    corsApplicationObject.setName(corsApplication.getName());
    return corsApplicationObject;
}
Also used : CORSApplicationObject(org.wso2.carbon.identity.api.server.cors.v1.model.CORSApplicationObject)

Aggregations

CORSApplicationObject (org.wso2.carbon.identity.api.server.cors.v1.model.CORSApplicationObject)1