Skip to content

Commit e127e6a

Browse files
filter name changed
Cannot resolve reference to bean 'promptFilter'
1 parent d6ea0e0 commit e127e6a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
.project

openidconnect-data/etc/mitreid-connect/user-context.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,16 @@
9999

100100
<security:http disable-url-rewriting="true" use-expressions="true">
101101
<security:form-login login-page="/login" authentication-failure-url="/login?error=failure" authentication-success-handler-ref="authenticationTimeStamper" />
102+
<security:intercept-url pattern="/authorize" access="hasRole('ROLE_USER')" />
102103
<security:intercept-url pattern="/**" access="permitAll" />
103-
<security:custom-filter ref="promptFilter" after="SECURITY_CONTEXT_FILTER" />
104+
<security:custom-filter ref="authRequestFilter" after="SECURITY_CONTEXT_FILTER" />
104105
<security:logout logout-url="/logout" />
105106
<security:anonymous />
106107
<security:expression-handler ref="oauthWebExpressionHandler" />
108+
<security:headers>
109+
<security:frame-options policy="DENY" />
110+
</security:headers>
111+
<security:csrf />
107112
</security:http>
108113

109114
</beans>

0 commit comments

Comments
 (0)