Results 1 to 2 of 2

Thread: Error in Tutorial: Adding Security to Spring PetClinic

  1. #1

    Default Error in Tutorial: Adding Security to Spring PetClinic

    I was able to get the PetClinic application using SVN from the spring-samples/petclinic repository and ran it on Tomcat 6.0.18

    After following the tutorial section [Securing the Application], I was still able to successfully build and deploy the new .war; but when I run the app I no longer see the graphics and if I click on any of the links (including Tutorial) I get:

    Code:
    Internal error java.lang.IllegalArgumentException: Failed to evaluate expression 'isAuthenticated' at org.springframework.security.access.expression.ExpressionUtils.evaluateAsBoolean(ExpressionUtils.java:13) at org.springframework.security.web.access.expression.WebExpressionVoter.vote(WebExpressionVoter.java:35) at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:50) at ...

  2. #2

    Default Sorry - tried again from the beginning and it worked fine.

    I have no idea what was different the 2nd time since I cut and pasted everything from the Tutorial into the app but now it's working fine with Security added.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •