Hi,

 

We are running CAS version 3.4.2. I configured and installed it using
the Maven2 Overlay Method from this document
<https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Loc
ally+using+the+Maven2+WAR+Overlay+Method> , we were able to integrate
LDAP authentication handler. Now we are trying to add the SPNEGO
configuration using this SPNEGO
<https://wiki.jasig.org/display/CASUM/SPNEGO>  document and we are
getting some errors. Our Environment has:

 

APACHE TOMCAT - apache-tomcat-6.0.29

JAVA - Java 1.6.0_20

CAS - CAS 3.4.2

 

In my configuration I have added the following lines:

deployerConfigContext.xml:

-         Under <bean id="authenticationManager"
class="org.jasig.cas.authentication.AuthenticationManagerImpl">:

--------------------------

<bean
class="org.jasig.cas.support.spnego.authentication.principal.SpnegoCrede
ntialsToPrincipalResolver" />

--------------------------

 

 

-         Under <property name="authenticationHandlers">:

-------------------------------------------------------

<bean
class="org.jasig.cas.support.spnego.authentication.handler.support.JCIFS
SpnegoAuthenticationHandler">

                                           <property
name="authentication">

                                                     <bean
class="jcifs.spnego.Authentication" />

                                           </property>

                                           <property
name="principalWithDomainName" value="false" />

                                           <property name="NTLMallowed"
value="true"/>

                                  </bean>

                                  <bean name="jcifsConfig"
class="org.jasig.cas.support.spnego.authentication.handler.support.JCIFS
Config">

                                    <property
name="jcifsServicePrincipal" value="domain\USER.TEMP" />

                                    <property
name="jcifsServicePassword" value="password1" />

                                    <property name="kerberosDebug"
value="false" />

                                    <property name="kerberosRealm"
value="kerberos.corp.intra" />

                                    <property name="kerberosKdc"
value="10.123.12.47" />

                                    <property name="loginConf"
value="/opt/work/local-cas/src/main/webapp/WEB-INF/login.conf" />

                                  </bean>

--------------------------------------------------------

 

I also add login.conf file under /src/main/webapps/WEB-INF/login.conf
with following lines:

------------------------------------------------------------------------
-------------

jcifs.spnego.initiate {
   com.sun.security.auth.module.Krb5LoginModule required storeKey=true;
};
jcifs.spnego.accept {
   com.sun.security.auth.module.Krb5LoginModule required storeKey=true;
};

------------------------------------------------------------------------
--------------

 

And add also the following lines to
/src/main/webapps/WEB-INF/cas-servlet.xml 

--------------------------------------------

<bean id="negociateSpnego"
class="org.jasig.cas.support.spnego.web.flow.SpnegoNegociateCredentialsA
ction" />

 

<bean id="spnego"
class="org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction">

          <property name="centralAuthenticationService"
ref="centralAuthenticationService"/>

</bean>

-------------------------------------------

 

When I tried to run mvn clean package I got these errors:

------------------------------------------------------------------------
-----------------------------------------

[WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered
resources, i.e. build is platform dependent!

[INFO] Copying 0 resource

Downloading:
http://oss.sonatype.org/content/repositories/releases//org/opensaml/open
saml/1.1b/opensaml-1.1b.pom

[INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in
repository ja-sig
(http://oss.sonatype.org/content/repositories/releases/)

Downloading:
http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1
.1b.pom

[INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in
repository jasig-repository (http://developer.ja-sig.org/maven2)

Downloading:
http://repository.jboss.com/maven2/org/opensaml/opensaml/1.1b/opensaml-1
.1b.pom

[INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in
repository jboss (http://repository.jboss.com/maven2)

Downloading:
http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.p
om

[INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in
repository central (http://repo1.maven.org/maven2)

Downloading:
http://oss.sonatype.org/content/repositories/releases//org/samba/jcifs/j
cifs-ext/0.9.4/jcifs-ext-0.9.4.pom

[INFO] Unable to find resource 'org.samba.jcifs:jcifs-ext:pom:0.9.4' in
repository ja-sig
(http://oss.sonatype.org/content/repositories/releases/)

Downloading:
http://developer.ja-sig.org/maven2/org/samba/jcifs/jcifs-ext/0.9.4/jcifs
-ext-0.9.4.pom

[INFO] Unable to find resource 'org.samba.jcifs:jcifs-ext:pom:0.9.4' in
repository jasig-repository (http://developer.ja-sig.org/maven2)

Downloading:
http://repository.jboss.com/maven2/org/samba/jcifs/jcifs-ext/0.9.4/jcifs
-ext-0.9.4.pom

[INFO] Unable to find resource 'org.samba.jcifs:jcifs-ext:pom:0.9.4' in
repository jboss (http://repository.jboss.com/maven2)

Downloading:
http://repo1.maven.org/maven2/org/samba/jcifs/jcifs-ext/0.9.4/jcifs-ext-
0.9.4.pom

[INFO] Unable to find resource 'org.samba.jcifs:jcifs-ext:pom:0.9.4' in
repository central (http://repo1.maven.org/maven2)

[INFO] [compiler:compile {execution: default-compile}]

------------------------------------------------------------------------
-----------------------------------------

Pls see the attached log file:

 

Can anyone please help how can I fix this issue? 

 

Thank you.

 

Kind Regards,

 

BARBOSA, Bernard

Senior Administrator, System/Network

MUSIC Group Macao Commercial Offshore Limited (Philippines) ROHQ

IP Phone: 60651 ext 1245

Tel: +63 2 7505401 ext 1245

Email: [email protected]
<mailto:[email protected]> 

Web: www.music-group.com <http://www.music-group.com/>  | 
www.behringer.com <http://www.behringer.com/>  | www.bugera-amps.com
<http://www.bugera-amps.com/> 




  youtube.com/behringer  <http://www.youtube.com/behringer>  
twitter.com/behringer  <http://www.twitter.com/behringer>   
facebook.com/behringer  <http://www.facebook.com/behringer>   
myspace.com/behringer  <http://www.myspace.com/behringer>   
flickr.com/behringerrocks  <http://www.flickr.com/behringerrocks> 


:-) Build Teamwork   :-) Take Ownership   :-) Don't Waste Resources
:-) Clean Workplace = Clean Mind   :-) Respect Guidelines and Policies
:-) Improve Yourself and Help Others   :-) Don't Forget to Smile and Say
Thank You  

This email is intended exclusively for the addressee(s) named above and
may contain privileged and confidential information. If you are not
(among) the intended recipient(s), you may not copy, utilize or
distribute any of the information contained herein. If you have received
this email in error, please notify us immediately via return email and
delete the original from your mailbox. Thank you. 

 

 


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

<<image006.jpg>>

<<image007.jpg>>

<<image008.jpg>>

<<image009.jpg>>

<<image010.jpg>>

Attachment: mvnbuild.log
Description: mvnbuild.log

Reply via email to