Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
8 subscribers
Views
2586 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
We are migrating from Appian 7.4 to 7.10. We have custom Authentication handlers
joev
over 9 years ago
We are migrating from Appian 7.4 to 7.10. We have custom Authentication handlers that is defined in "spring-security-06-portal-post-auth-handlers-override.xml". However, these are breaking in 7.10 because the no-argument constructor no longer exists in com.appiancorp.security.auth.AppianAuthenticationSuccessHandler (part of appian-security.jar).
Error thrown: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.appiancorp.security.auth.AppianAuthenticationSuccessHandler: method <init>()V not found
Is there a way we can make this work without changing the existing code ?
OriginalPostID-161458
OriginalPostID-161458
Discussion posts and replies are publicly visible
0
Raluca Eftimoiu
Appian Employee
over 9 years ago
Hi Joe.
Did you merge your custom code from the override file with the new spring-security-06-portal-post-auth-handlers.xml file that comes in 7.10? That file was changed in 7.10 and the AppianAuthenticationSuccessHandler now takes in an argument.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joev
over 9 years ago
Hi Raluca, yes, we now updated our handler files to include the argument also. No more errors.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Raluca Eftimoiu
Appian Employee
over 9 years ago
Good to know! Let me know if there is anything else I can help out with, in the future!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joev
over 9 years ago
Hi Raluca, we are getting the below warning, is this something you have seen before ?
WARN com.appiancorp.security.auth.activity.UserActivityFilter - Cannot retrieve authentication details. Please update your Spring Security XML configuration, so that com.appiancorp.security.auth.AppianAuthenticationDetailsSource is used as the authenticationDetailsSource. (Expected an instance of com.appiancorp.security.auth.AuthenticationDetails, but got org.springframework.security.web.authentication.WebAuthenticationDetails.)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Raluca Eftimoiu
Appian Employee
over 9 years ago
Hi Joe,
I recommend that you open a Support Case to further investigate this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prestonb
over 8 years ago
Were you able to find a resolution for this? We are having the same problem on 7.10.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joev
over 8 years ago
Hi Preston, we are still getting this warning, even though everything seems to work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prestonb
over 8 years ago
Thanks for the update. We ended up changing the logging level to suppress this warning because were were receiving this error several times per second and it was cluttering up the log files.
log4j.logger.com.appiancorp.security.auth.activity.UserActivityFilter=ERROR
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel