Revision 52781
Added by Panagiotis Kanakakis over 5 years ago
aai-security.xml | ||
---|---|---|
18 | 18 |
<!--<bean id="webexpressionHandler" |
19 | 19 |
class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>--> |
20 | 20 |
|
21 |
<!-- <security:global-method-security pre-post-annotations="enabled" proxy-target-class="true" authentication-manager-ref="authenticationManager"/>-->
|
|
21 |
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true" authentication-manager-ref="authenticationManager"/>
|
|
22 | 22 |
|
23 | 23 |
<security:http auto-config="false" use-expressions="true" |
24 | 24 |
disable-url-rewriting="true" entry-point-ref="authenticationEntryPoint" |
... | ... | |
26 | 26 |
|
27 | 27 |
<security:custom-filter before="PRE_AUTH_FILTER" ref="openIdConnectAuthenticationFilter" /> |
28 | 28 |
|
29 |
<security:logout /> |
|
29 |
<security:logout logout-url="/openid_logout" invalidate-session="true" |
|
30 |
delete-cookies="openAIRESession" logout-success-url="${webapp.dev.front}"/> |
|
30 | 31 |
|
31 | 32 |
</security:http> |
32 | 33 |
|
34 |
|
|
33 | 35 |
<bean id="authenticationEntryPoint" class="org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint" > |
34 | 36 |
<constructor-arg type="java.lang.String" value="/openid_connect_login"/> |
35 | 37 |
</bean> |
Also available in: Unified diff
1. Dockerize service
2. Add authorization checks
3. Handle exceptions ( controller advice, exception package)
4. Login-logout operations bug fixes