<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:sec="http://www.springframework.org/schema/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">
<!-- spring beans and security configuration go here! -->
<sec:http>
<sec:access-denied-handler error-page="/denied.gsp"/>
<sec:intercept-url pattern="/unauthorized.jsp" filters="none" />
<sec:intercept-url pattern="/js-lib/ext-*/**" filters="none"/>
<sec:intercept-url pattern="/themes/common/images/logout/**" filters="none" />
<sec:intercept-url pattern="/logout.jsp" filters="none" />
<sec:intercept-url pattern="/administration/monitoring" access="ROLE_ADMIN" />
<sec:intercept-url pattern="/admin/**" access="ROLE_ADMIN" requires-channel="https" />
<sec:intercept-url pattern="/**" access="ROLE_USER, ROLE_ADMIN" requires-channel="https" />
<!-- CUSTOM LOGOUT FILTER -->
<sec:custom-filter ref="ozoneLogoutFilter" position="LOGOUT_FILTER"/>
<!-- FILTER THAT CREATES OUR CUSTOM COOKIE -->
<sec:custom-filter ref="ozoneCookieFilter" before="ANONYMOUS_FILTER"/>
<sec:form-login />
<sec:port-mappings>
<sec:port-mapping http="${ozone.unsecurePort}" https="${ozone.port}"/>
</sec:port-mappings>
</sec:http>
<sec:authentication-manager alias="authenticationManager">
<sec:authentication-provider ref="ldapAuthProvider"/>
</sec:authentication-manager>
<import resource="ozone-security-beans/OWFLogInOutBeans.xml"/>
<import resource="ozone-security-beans/ListenerBeans.xml" />
<import resource="ozone-security-beans/LdapBeans.xml" />
</beans>
--
You received this message because you are subscribed to a topic in the Google Groups "ozoneplatform-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ozoneplatform-users/I144DLUpbJ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ozoneplatform-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I’ve recently done just such a thing. Snippeting some code below – this will impact your OzonesecurityContext.xml file. The OzoneConfig.properties file gives, well, properties to replace items in the various XML configuration files.
<sec:http>
<sec:form-login login-page="/login/login.html" /> // line which routes to your custom login page…
<sec:intercept-url pattern="/login/**" filters="none" />
In this case, I’ve deployed my login file into OWF itself so that I can theme it and “brand” it per my OWF instance. (Deploying in this case means I drop my HTML files into the login directory… I believe I originally generated the login page by using Spring’s default login page which it will spit out if you use sec:http and don’t give it the sec:form attribute. I then saved off its HTML, and ‘skinned it’ the way I wanted…)
Note that I’m also no longer triggering the casProcessingFilterEntryPoint which is listed in the default OWFsecurityContext.xml file. All auth/auth is handled directly by the OWF app and its interactions with the LDAP repository, rather than doing a handshake mechanism back and forth with the CAS single-signon system.
Tina Coleman
NEXTCENTURYCORPORATION
7075 Samuel Morse Drive, Suite 250
| Columbia, MD 21046
m 443.545.3100
|
f 443.285.0799
|www.nextcentury.com
From: ozoneplat...@googlegroups.com [mailto:ozoneplat...@googlegroups.com]
On Behalf Of Joubin Jabbari
Sent: Monday, October 13, 2014 2:28 PM
To: ozoneplat...@googlegroups.com
Subject: Re: Configuring ozone widget framework for ldap authentication
Ross,
Say the ldap configuration was completed properly. What do I do for ozone to give me the login window for ldap rather than cas. right now when I go to my.domain.tld:8443/owf it redirects to my.domain.tld:8443/cas/login?service….
In another word, what is the setting that I need to replace in: OzoneConfig.properties
ozone.host = owf.home.joubin.me
ozone.port = 8443
ozone.unsecurePort = 8080
#CAS SETTINGS
ozone.cas.serverName=cas
ozone.cas.serverLoginLocation=cas/login
ozone.cas.serverLogoutLocation=cas/logout
#OWF CAS SETTINGS
ozone.cas.owf.serverSecureReceptorLocation=owf/secure/receptor
ozone.cas.owf.jSpringCasSecurityCheckLocation=owf/j_spring_cas_security_check
#MP CAS SETTINGS
ozone.cas.marketplace.serverSecureReceptorLocation=marketplace/secure/receptor
ozone.cas.marketplace.jSpringCasSecurityCheckLocation=marketplace/j_spring_cas_security_check
#METRIC CAS SETTINGS
ozone.cas.metric.serverSecureReceptorLocation=metric/secure/receptor
ozone.cas.metric.jSpringCasSecurityCheckLocation=metric/j_spring_cas_security_check
I have currently setup an ldap server (win 2008) and ozone (debian) at home to get it working and I can present it to them tomorrow. my ldap servers domain is home.mydomain.tld and the machine running owf is owf.home.mydomain.tld
--
You received this message because you are subscribed to a topic in the Google Groups "ozoneplatform-users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/ozoneplatform-users/I144DLUpbJ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ozoneplatform-u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ozoneplatform-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ozoneplatform-u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ozoneplatform-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ozoneplatform-users/I144DLUpbJ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ozoneplatform-users+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ozoneplatform-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ozoneplatform-users/I144DLUpbJ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ozoneplatform-u...@googlegroups.com.