[cas-dev] doesnt work properly after changing from server 3.0.5 to3.1.1
Meik Suchlich
meik.suchlich at brand-ad.de
Wed Dec 12 10:25:39 EST 2007
The problem is not an SSL-problem!
casValidate should deliver a page with info: 'service' and 'ticket'
parameters are both required , if it is called direktly in a webbrowser,
but it delivers the casLoginView as explained.
Meik Suchlich
________________________________
Von: Meik Suchlich
Gesendet: Mittwoch, 12. Dezember 2007 15:19
An: 'Mailing list for CAS developers'
Betreff: AW: [cas-dev] doesnt work properly after changing from server
3.0.5 to3.1.1
I find out, that UsernamePasswordCredentials cannot be configured but is
hardcoded in AuthenticationViaFormAction.
Am I right, or is there something I haven't seen, where I can configure
this.
Now I get an exception: javax.servlet.ServletException: Unable to
validate ProxyTicketValidator
I had that exception before as I used cas-server-3.0.5 but I can't
remember how to solve the problem.
The Problem is, that cas/validate does not validate but deliver the
login-page. But I don't find the position where I misconfigured it. I
compared the files between 3.0.5 and 3.1.1 and I don't see the
difference why it works in 3.0.5 and not in 3.1.1.
Anyone an idea.
Thanks!
Meik Suchlich
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Meik Suchlich
Gesendet: Mittwoch, 12. Dezember 2007 13:10
An: Mailing list for CAS developers
Betreff: [cas-dev] doesnt work properly after changing from server 3.0.5
to3.1.1
Oh sorry, I missed one jarfile, standard-1.1.2.jar...
My fault.
Now I have Problems with my own UsernamePasswordCredentials.
I get a ClassCast because the default UsernamePasswordCredentials are
used and not MyUsernamePasswordCredentials when the Method fromObject in
AuthenticationViaFormAction is called.
I don't really know why.
Do I have to change the original UsernamePasswordCredentials instead of
extending them with my own?
Meik
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Meik Suchlich
Gesendet: Mittwoch, 12. Dezember 2007 10:18
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] needed Downloads
The uri http://java.sun.com/jsp/jstl/core is in the jsp (e. g. top.jsp)
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Must it be mentioned anywhere else?
Meik Suchlich
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Meik Suchlich
Gesendet: Mittwoch, 12. Dezember 2007 09:18
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] needed Downloads
I trie to connect to cas/login like in server 3.0.5.
I use nearly the same login-webflow and web.xml as with 3.0.5. and want
to get the casLoginView.jsp, but I get the exception mailed before.
I wrote my own authenticationHandler and try to use it like before. It
is configured in the xmls.
Do I have to configure something in the new files cas.properties and
security-context.xml except the hosts?
I use cas-client-java 2.1.1.
Meik Suchlich
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Scott Battaglia
Gesendet: Dienstag, 11. Dezember 2007 18:21
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] needed Downloads
What servlet container are you attempting to use?
On Dec 11, 2007 10:50 AM, Meik Suchlich <meik.suchlich at brand-ad.de>
wrote:
Ok,
after finding out all packages needed. (extracted from the war file).
My configuration throws an exception:
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsp/jstl/core
cannot be resolved in either web.xml or the jar files deployed with
this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:50)
I don't understand whats wrong.
Can anyone help me?
Thanks!
Meik Suchlich
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Scott Battaglia
Gesendet: Dienstag, 11. Dezember 2007 14:29
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] needed Downloads
Its included in the standard CAS 3.1.1 distribution, and in the default
WAR file included in the distribution.
Please follow the directions in our Wiki on building and deploying CAS
3.1.x:
http://www.ja-sig.org/wiki/display/CASUM/Building+and+Deploying
On Dec 11, 2007 8:15 AM, Meik Suchlich <meik.suchlich at brand-ad.de>
wrote:
I don't really understand.
Where is the package org.jasig.services or where can I get it.??
I used cas-server-3.0.5 before and I want to update to 3.1.1.
Now I get exceptions:
org.springframework.beans.factory.BeanCreationException : Error creating
bean with name 'centralAuthenticationService' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to
bean 'authenticationManager' while setting bean property
'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException : Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
'org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPri
ncipalResolver#e312' of type
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPri
ncipalResolver] while setting bean property
'credentialsToPrincipalResolvers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException : Error creating
bean with name
'org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPri
ncipalResolver#e312' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException
: Could not instantiate bean class
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPri
ncipalResolver]: Constructor threw exception; nested exception is
java.lang.Error: Unresolved compilation problems:
The import org.jasig.services cannot be resolved
The import org.jasig.services cannot be resolved
IPersonAttributeDao cannot be resolved to a type
StubPersonAttributeDao cannot be resolved to a type
attributeRepository cannot be resolved or is not a field
IPersonAttributeDao cannot be resolved to a type
Meik
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Scott Battaglia
Gesendet: Dienstag, 11. Dezember 2007 14:05
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] needed Downloads
Meik,
CAS Server 3.1.1 utilizes Maven2 for its build process. The release
includes a pre-built WAR file. If you rebuild the WAR file, Maven2 will
obtain the correct dependencies for you.
Thanks
-Scott
On Dec 11, 2007 4:20 AM, Meik Suchlich <meik.suchlich at brand-ad.de>
wrote:
Hi,
I want to use cas-server-3.1.1.
But I find no documentation which jarfiles I need (like spring, saml
etc.) and where I can download them.
Is there anywhere a List of all jars neede for 3.1.1.??
Thanks!
Meik
_______________________________________________
cas-dev mailing list
cas-dev at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas-dev
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
cas-dev mailing list
cas-dev at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas-dev
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
cas-dev mailing list
cas-dev at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas-dev
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20071212/e80b180d/attachment-0001.html
More information about the cas-dev
mailing list