According to the below link..... check if you have the same version defined in your xml schema and POM.
http://stackoverflow.com/questions/10952114/what-is-the-relationship-between-field-system-properties-mode-environment-and On Thu, Oct 30, 2014 at 11:48 AM, Anilkumar <[email protected]> wrote: > Hi Guys > > I want to include the dependency to pom.xml shown bellow > > <dependency> > <groupId>org.springframework.security</groupId> > <artifactId>spring-security-cas</artifactId> > <version>3.2.0.RELEASE</version> > </dependency> > > but i am getting exception shown bellow > > ERROR - ContextLoader.initWebApplicationContext(227) | Context > initialization failed > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name > 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0': > Error setting property values; nested exception is > org.springframework.beans.PropertyBatchUpdateException; nested > PropertyAccessExceptions (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: Property > 'systemPropertiesModeName' threw exception; nested exception is > org.springframework.core.ConstantException: Field > 'SYSTEM_PROPERTIES_MODE_ENVIRONMENT' not found in class > [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] > > please find the attachment for full stack trace > > Please clarify. > > Thanks > Anil > > > > > > > > > > > > On 10/27/2014 10:38 PM, Jay wrote: > > Hi John > > That's very helpful to start. I would have a look. > > Cheers > Jay > > On Mon, Oct 27, 2014 at 5:00 PM, John Gasper <[email protected]> wrote: > >> Jay, >> >> You can modify the login-webflow.xml to do the OTP check after the >> realSubmit state runs. You'll probably need to write some code to wrap the >> OTP service call in Spring webflow action code, but it should be do able. >> You'll need to modify the casLoginView.jsp to add the extra field, and also >> an a new binding in the viewLoginForm view-state binder section. You might >> need to extended the credential as well, or at least play with getting the >> value stored in the flow so you can use it later. >> >> Good luck. >> >> --- >> *John Gasper* >> IAM Consultant >> Unicon, Inc. >> PGP/GPG Key: 0xbafee3ef >> >> On 10/27/14 9:45 AM, Jayakumar Jayaraman wrote: >> >> Hi Guys >> >> I want to include the OTP field along with the username & password. >> >> And on clicking the Login button I want to do the below 2 actions in >> one go. >> - Validate the username+password against the LDAP >> - Validate the username+OTP against OTP service >> >> Is this possible ? >> >> I have seen some samples where they do these 2 actions in 2 separate >> pages. But I am trying to see if I can combine for better user experience. >> >> Please clarify. >> >> Thanks >> Jay >> >> >> >> >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
