Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ist-unix
CAS-server
Commits
69c0ac1c
Commit
69c0ac1c
authored
Sep 24, 2015
by
Misagh Moayyed
Browse files
automated trusted authN config
parent
ccccc4b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
6 deletions
+39
-6
cas-server-documentation/installation/Trusted-Authentication.md
...rver-documentation/installation/Trusted-Authentication.md
+0
-6
cas-server-support-trusted/src/main/resources/META-INF/spring/trusted-authn-config.xml
...c/main/resources/META-INF/spring/trusted-authn-config.xml
+39
-0
No files found.
cas-server-documentation/installation/Trusted-Authentication.md
View file @
69c0ac1c
...
...
@@ -58,9 +58,3 @@ Add an additional state to `login-webflow.xml`:
Replace references to
`viewLoginForm`
in existing states with
`remoteAuthenticate`
.
Install the Webflow action into the Spring context by adding the following bean to
`cas-servlet.xml`
:
{% highlight xml %}
<bean id="principalFromRemoteAction"
class="org.jasig.cas.adaptors.trusted.web.flow.PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction"
p:centralAuthenticationService-ref="centralAuthenticationService" />
{% endhighlight %}
cas-server-support-trusted/src/main/resources/META-INF/spring/trusted-authn-config.xml
0 → 100644
View file @
69c0ac1c
<!--
Licensed to Apereo under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Apereo licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:webflow=
"http://www.springframework.org/schema/webflow-config"
xmlns:p=
"http://www.springframework.org/schema/p"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:c=
"http://www.springframework.org/schema/c"
xmlns:util=
"http://www.springframework.org/schema/util"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.3.xsd"
>
<bean
id=
"principalFromRemoteAction"
class=
"org.jasig.cas.adaptors.trusted.web.flow.PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction"
p:centralAuthenticationService-ref=
"centralAuthenticationService"
/>
</beans>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment