idp.authn.flows= Password|Mypassword created a new file
when i configure the new flow Mypassword in my relying party xml to desired SP
i get the below error
2016-08-04 13:36:13,478 - WARN [net.shibboleth.idp.authn.impl.PopulateAuthenticationContext:165] - Profile Action PopulateAuthenticationContext: No authentication flows are active for this request
2016-08-04 13:36:13,493 - ERROR [net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:296] - Profile Action SelectAuthenticationFlow: No potential flows left to choose from, authentication will fail
2016-08-04 13:36:13,499 - WARN [org.opensaml.profile.action.impl.LogEvent:76] - An error event occurred while processing the request: NoPotentialFlow
what am i missing, im not even sure if my approach is correct.
can anyone guide me
Re: can i duplicate password authn flow with a new name and add it as a new authn flow
I got the solution,
if anyone else needs the same solution.
duplicate the below flows with a name of your choice
to have separate set of datasource configurations for the new flow
<import resource="../../../conf/authn/passworda-authn-config.xml" />
to have a seperate login page for the new flow
<view-state id="DisplayUsernamePasswordPage" view="mylogin">
duplicate the login.vm page and personalize it.
now every authentication flow is identified by a unique name
like password based authn flow is "Password"
so we have to define a name for our new authn flow
lets call it "Mypassword"
edit the file system/conf/webflow-config.xml
add the below line
<webflow:flow-location id="authn/Mypassword" path="../system/flows/authn/mypassword-authn-flow.xml" />
now to setup configurations for datasource for the new authn flow
duplicate the file
setup your datasource to configure your users datasource for authentication
enable the new flow in conf/idp.properties
configure the new authn flow to your specific customera datasource