Spring Security Saml + Idp 3.1.2: The application you have accessed is not registered for use with this service
Павел Шашко
pavel.shashko at gmail.com
Mon Aug 24 06:21:25 EDT 2015
I have checked and repaired my config - now I can see logs.
*In logs I can see thar info about my SP was loaded successfull:*
2015-08-24 12:06:28,163 - INFO
[org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:465]
- New metadata successfully loaded for
'C:\.\idp\metadata\urntestpshashkoklimovsk_sp.xml'
*But in logs there is error:*
*idp-process.log*
2015-08-24 12:06:42,855 - ERROR [net.shibboleth.idp.authn:-2] - Uncaught
runtime exception
org.springframework.webflow.definition.registry.FlowDefinitionConstructionException:
An exception occurred constructing the flow 'authn/Password'
at
org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:111)
Caused by: org.springframework.webflow.engine.builder.FlowBuilderException:
Unable to get the model for this flow
at
org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:154)
Caused by:
org.springframework.webflow.engine.model.builder.FlowModelBuilderException:
Unable to find flow 'authn/conditions' to inherit from
at
org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.mergeFlows(XmlFlowModelBuilder.java:635)
Caused by:
org.springframework.webflow.engine.model.registry.NoSuchFlowModelException:
No flow model 'authn/conditions' found
at
org.springframework.webflow.engine.model.registry.FlowModelRegistryImpl.getFlowModelHolder(FlowModelRegistryImpl.java:80)
*idp-warn.log:*
2015-08-24 12:06:42,855 - ERROR [net.shibboleth.idp.authn:-2] - Uncaught
runtime exception
org.springframework.webflow.definition.registry.FlowDefinitionConstructionException:
An exception occurred constructing the flow 'authn/Password'
at
org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:111)
Caused by: org.springframework.webflow.engine.builder.FlowBuilderException:
Unable to get the model for this flow
at
org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:154)
Caused by:
org.springframework.webflow.engine.model.builder.FlowModelBuilderException:
Unable to find flow 'authn/conditions' to inherit from
at
org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.mergeFlows(XmlFlowModelBuilder.java:635)
Caused by:
org.springframework.webflow.engine.model.registry.NoSuchFlowModelException:
No flow model 'authn/conditions' found
at
org.springframework.webflow.engine.model.registry.FlowModelRegistryImpl.getFlowModelHolder(FlowModelRegistryImpl.java:80)
How can I fix it? And where I can found an example how to implement custom
user/password check handler? (In my current spring app I store user/pass
pairs in db and have custom security provider)
Thanks.
Paul
2015-08-21 17:25 GMT+03:00 Rod Widdowson <rdw at steadingsoftware.com>:
> > Where I can find logs?
>
> idp.home\logs\ unless you have sent them somewhere else.
>
> >I have configured in %idp.home/conf/logback.xml logger with
> name="net.shibboleth.idp" to TRACE level,
> > rebuild war, redeploy it to tomcat
>
> Should don't need that, just restart tomcat
>
> > but directory %idp.home/logs is still empty =(
>
> I'd check Tomcats log for a problem starting the IdP then...
>
> /R
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150824/9eeecb03/attachment.html>
More information about the users
mailing list