[cas-user] username verification before check password

2023-06-30 Thread Seb UNESS
Hi,

I want to validate username exist before validate password.
In fact, i want :
1- page to put username and validate
2- if not exist return to 1
3- page to put password and validate

It is possible ?
How can i do that with CAS 6.6.8


Thanks

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c3da7bbf-4569-4405-a0c1-3e3d6c966c6bn%40apereo.org.


Re: [cas-user] Re: Problem integrating CAS 5.2.2 with WS Federation Identity Provider

2018-02-21 Thread Seb
It is better with 5.2.3-SNAPSHOT.

Now i've this error :

WARN 
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
 
- ^[[m

^[[33m2018-02-21 22:51:33,971 WARN 
[org.apereo.cas.util.io.PathWatcherService] - ^[[m

^[[1;31m2018-02-21 22:51:34,015 ERROR 
[org.springframework.boot.SpringApplication] - 
^[[m

org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'scopedTarget.casRealm' defined in class path resource 
[org/apereo/cas/config/CoreWsSecuritySecurityTokenServiceConfiguration.class]: 
Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.cxf.sts.token.realm.RealmProperties]: Factory method 'casRealm' 
threw exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Keystore file, 
password or alias assigned to the realm must be defined


Any Help?


Thank you

Le mercredi 21 février 2018 21:57:00 UTC+1, Misagh Moayyed a écrit :
>
> Do you see the same problem with 5.2.3-SNAPSHOT? 
>
> --Misagh
>
> ------
>
> *From: *"Seb" <sre...@cdg33.fr >
> *To: *"CAS Community" <cas-...@apereo.org >
> *Sent: *Wednesday, February 21, 2018 1:53:20 PM
> *Subject: *[cas-user] Re: Problem integrating CAS 5.2.2 with WS 
> Federation Identity Provider
>
>
> Hello,
>
> same problem as Stephen with 5.2.2, 
>
> problem still alive with 5.3.0-RC2.
>
> AT can you share your cas.properties and your pom.xml?
>
> thank you
>
>
> Le vendredi 2 février 2018 14:00:56 UTC+1, Steffen Fenger a écrit :
>>
>> Hello,
>>
>>
>> I  would like configure a WS Federation Identity Provider with CAS Maven 
>> WAR Overlay. I'm added two Dependency to pom.xml 
>>
>> Based on this article
>>
>>  https://apereo.github.io/cas/5.2.x/protocol/WS-Federation-Protocol.html#
>>
>> 
>> org.apereo.cas
>> cas-server-support-ws-sts
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-ws-idp
>> ${cas.version}
>> 
>>   
>>
>> The CAS Application Start's with follow Error:
>>
>> Log file:
>>
>> 2018-02-02 13:35:01,533 WARN 
>> [org.apereo.cas.web.CasWebApplicationContext] - > during context initialization - cancelling refresh attempt: 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'casReportsConfiguration': Unsatisfied dependency 
>> expressed through field 'cas3ServiceSuccessView'; nested exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'casValidationConfiguration': Unsatisfied 
>> dependency expressed through field 'centralAuthenticationService'; nested 
>> exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'centralAuthenticationService' defined in class 
>> path resource [org/apereo/cas/config/CasCoreConfiguration.class]: 
>> Unsatisfied dependency expressed through method 
>> 'centralAuthenticationService' parameter 0; nested exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'authenticationServiceSelectionPlan' defined in 
>> class path resource [org/apereo/cas/config/CasCoreConfiguration.class]: 
>> Unsatisfied dependency expressed through method 
>> 'authenticationServiceSelectionPlan' parameter 0; nested exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'coreWsSecurityIdentityProviderConfiguration': 
>> Unsatisfied dependency expressed through field 
>> 'loginFlowDefinitionRegistry'; nested exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'casWebflowContextConfiguration': Unsatisfied 
>> dependency expressed through field 'registeredServiceViewResolver'; nested 
>> exception is 
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
>> creating bean with name 'casThemesConfiguration': Unsatisfied dependency 
>> expressed through field 'authenticationRequestServiceSelectionStrategies'; 
>> nested exception is 
>> org.springframework.beans.factory.BeanCurrentlyInCreationException: Error 
>> creating bean with name 'authenticationServiceSelectionPlan': Requested 
>> b

[cas-user] Re: Problem integrating CAS 5.2.2 with WS Federation Identity Provider

2018-02-21 Thread Seb

Hello,

same problem as Stephen with 5.2.2, 

problem still alive with 5.3.0-RC2.

AT can you share your cas.properties and your pom.xml?

thank you


Le vendredi 2 février 2018 14:00:56 UTC+1, Steffen Fenger a écrit :
>
> Hello,
>
>
> I  would like configure a WS Federation Identity Provider with CAS Maven 
> WAR Overlay. I'm added two Dependency to pom.xml 
>
> Based on this article
>
>  https://apereo.github.io/cas/5.2.x/protocol/WS-Federation-Protocol.html#
>
> 
> org.apereo.cas
> cas-server-support-ws-sts
> ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-ws-idp
> ${cas.version}
> 
>   
>
> The CAS Application Start's with follow Error:
>
> Log file:
>
> 2018-02-02 13:35:01,533 WARN [org.apereo.cas.web.CasWebApplicationContext] 
> -  attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 'casReportsConfiguration': Unsatisfied 
> dependency expressed through field 'cas3ServiceSuccessView'; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casValidationConfiguration': Unsatisfied 
> dependency expressed through field 'centralAuthenticationService'; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'centralAuthenticationService' defined in class 
> path resource [org/apereo/cas/config/CasCoreConfiguration.class]: 
> Unsatisfied dependency expressed through method 
> 'centralAuthenticationService' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationServiceSelectionPlan' defined in 
> class path resource [org/apereo/cas/config/CasCoreConfiguration.class]: 
> Unsatisfied dependency expressed through method 
> 'authenticationServiceSelectionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'coreWsSecurityIdentityProviderConfiguration': 
> Unsatisfied dependency expressed through field 
> 'loginFlowDefinitionRegistry'; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casWebflowContextConfiguration': Unsatisfied 
> dependency expressed through field 'registeredServiceViewResolver'; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casThemesConfiguration': Unsatisfied dependency 
> expressed through field 'authenticationRequestServiceSelectionStrategies'; 
> nested exception is 
> org.springframework.beans.factory.BeanCurrentlyInCreationException: Error 
> creating bean with name 'authenticationServiceSelectionPlan': Requested 
> bean is currently in creation: Is there an unresolvable circular reference?>
> 2018-02-02 13:35:04,075 ERROR 
> [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] - <
>
> ***
> APPLICATION FAILED TO START
> ***
>
> Description:
>
> The dependencies of some of the beans in the application context form a 
> cycle:
>
>casReportsConfiguration (field private 
> org.springframework.web.servlet.View 
> org.apereo.cas.web.report.config.CasReportsConfiguration.cas3ServiceSuccessView)
>   ↓
>casValidationConfiguration (field private 
> org.apereo.cas.CentralAuthenticationService 
> org.apereo.cas.web.config.CasValidationConfiguration.centralAuthenticationService)
>   ↓
>centralAuthenticationService defined in class path resource 
> [org/apereo/cas/config/CasCoreConfiguration.class]
> ┌─┐
> |  authenticationServiceSelectionPlan defined in class path resource 
> [org/apereo/cas/config/CasCoreConfiguration.class]
> ↑ ↓
> |  coreWsSecurityIdentityProviderConfiguration (field private 
> org.springframework.webflow.definition.registry.FlowDefinitionRegistry 
> org.apereo.cas.config.CoreWsSecurityIdentityProviderConfiguration.loginFlowDefinitionRegistry)
> ↑ ↓
> |  casWebflowContextConfiguration (field private 
> org.springframework.web.servlet.ViewResolver 
> org.apereo.cas.web.flow.config.CasWebflowContextConfiguration.registeredServiceViewResolver)
> ↑ ↓
> |  casThemesConfiguration (field private 
> org.apereo.cas.authentication.AuthenticationServiceSelectionPlan 
> org.apereo.cas.services.web.config.CasThemesConfiguration.authenticationRequestServiceSelectionStrategies)
>
>
> Thanks for your time.
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 

[cas-user] Re: Problem integrating CAS 5.2.2 with WS Federation Identity Provider

2018-02-21 Thread Seb

>
> Hello,
>

same problem as Stephen with 5.2.2, 

problem still alive with 5.3.0-RC2.

AT can you share your cas.properties and your pom.xml?

thank you
 

>  
>
 
>
 
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/2431ef27-1ef4-40d9-aad4-eb70cd7caf77%40apereo.org.