add https support for platform available at localhost:8443 by default when running from command line.
This commit is contained in:
@@ -7,14 +7,13 @@
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
||||
|
||||
<http security="none" pattern="/api/*/authentication" />
|
||||
|
||||
<http create-session="stateless" use-expressions="true" pattern="/api/**">
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="GET"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="POST"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="PUT"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="DELETE"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="HEAD"/>
|
||||
<intercept-url pattern="/api/*/authentication" access="permitAll" method="POST" requires-channel="https" />
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="GET" requires-channel="https" />
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="POST" requires-channel="https"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="PUT" requires-channel="https"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="DELETE" requires-channel="https"/>
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="HEAD" requires-channel="https"/>
|
||||
<http-basic />
|
||||
</http>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user