I'm looking at how to implement authentication with WSO2 IS using an existing corporate webservice.
I have to modify the login to accept 3 parameters that are clientCODE
, IDnumber
, and password
.
I am new to WSO2 IS and I started researching on the subject. So far I saw that if I need a custom federation authentication that connects to my webservice, will I need to make a local custom authenticator to work with the three parameters? What is the flow to be done?
EDIT: I created a custom federation authentication and can see the parameters sent by default webapp, I included there a rest client with org.apache.cxf.cxf-rt-rs-client but now I got a
org.apache.cxf.jaxrs.client.WebClient cannot be found by org.wso2.carbon.extension.identity.authenticator.custom_1.0.1
I included in my pom
<Import-Package>
org.apache.cxf.cxf-rt-rs-client;resolution:=optional,
org.apache.commons.logging.*; version="1.0.4",
org.osgi.framework,
org.wso2.carbon.identity.application.authentication.framework.*,
javax.servlet,
javax.servlet.http,
org.apache.oltu.oauth2.*; version="${oltu.package.import.version.range}", *;resolution:=optional,
</Import-Package>
I copied the jars to /repository/components/lib/ shows the same error.
Thanks