While performing AD integration on APPIAN 7.4, I came across this error message

While performing AD integration on APPIAN 7.4, I came across this error message during restart of server:
Any hints on this would be of help .

Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#21': Cannot create inner bean '(inner bean)' of type [org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter] while setting constructor argument with key [5]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#26': Cannot resolve reference to bean 'appianRememberMeServices' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appianRememberMeServices' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-03-auth-mgr-...

OriginalPostID-104994

OriginalPostID-104994

  Discussion posts and replies are publicly visible

Parents
  • The fact that you are receiving this error:
    Cannot resolve reference to bean 'appianRememberMeServices' while setting constructor argument; nested exception is

    indicates you two things:

    1. Your spring-security-03-auth-mgr-override.xml is coming from a previous Appian version older than 7.4 which is missing all the RememberMe beans that were introduced in 7.4

    SOLUTION: Create a copy of the Appian 7.4 spring-security-03-auth-mgr.xml and MERGE your AD integration there instead of reusing your old spring-security-03-auth-mgr-override.xml

    2. Or you removed those new beans by mistake when introducing your AD integration

    SOLUTION: Create a copy of the Appian 7.4 spring-security-03-auth-mgr.xml and add your AD integration again making sure you do not remove any other beans.
Reply
  • The fact that you are receiving this error:
    Cannot resolve reference to bean 'appianRememberMeServices' while setting constructor argument; nested exception is

    indicates you two things:

    1. Your spring-security-03-auth-mgr-override.xml is coming from a previous Appian version older than 7.4 which is missing all the RememberMe beans that were introduced in 7.4

    SOLUTION: Create a copy of the Appian 7.4 spring-security-03-auth-mgr.xml and MERGE your AD integration there instead of reusing your old spring-security-03-auth-mgr-override.xml

    2. Or you removed those new beans by mistake when introducing your AD integration

    SOLUTION: Create a copy of the Appian 7.4 spring-security-03-auth-mgr.xml and add your AD integration again making sure you do not remove any other beans.
Children
No Data