Search in sources :

Example 1 with CustomInboundProtocolConfiguration

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;
}
Also used : InboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig)

Example 2 with CustomInboundProtocolConfiguration

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;
}
Also used : InboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig)

Aggregations

InboundAuthenticationRequestConfig (org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig)2