use of org.wso2.carbon.identity.api.server.application.management.v1.CustomInboundProtocolConfiguration in project identity-api-server by wso2.
the class ApiModelToCustomInbound method apply.
@Override
public InboundAuthenticationRequestConfig apply(CustomInboundProtocolConfiguration customInbound) {
InboundAuthenticationRequestConfig inboundRequestConfig = new InboundAuthenticationRequestConfig();
inboundRequestConfig.setInboundAuthType(customInbound.getName());
inboundRequestConfig.setInboundConfigType(customInbound.getConfigName());
inboundRequestConfig.setProperties(getProperties(customInbound));
return inboundRequestConfig;
}
use of org.wso2.carbon.identity.api.server.application.management.v1.CustomInboundProtocolConfiguration in project identity-api-server by wso2.
the class CustomInboundFunctions method createCustomInbound.
public static InboundAuthenticationRequestConfig createCustomInbound(CustomInboundProtocolConfiguration custom) {
InboundAuthenticationRequestConfig inboundRequestConfig = new InboundAuthenticationRequestConfig();
inboundRequestConfig.setInboundAuthType(custom.getName());
inboundRequestConfig.setInboundConfigType(custom.getConfigName());
inboundRequestConfig.setProperties(getProperties(custom));
return inboundRequestConfig;
}
Aggregations