True, I was trying to login via the user I created in the
userDetailsService bean...I didn't realized the account in
userDetailsService was simply being used to grant admin rights on the
service manger and that the password is meaningless. When I tried it
again with a valid ldap account, I got a RuntimeException: Unable to
create XMLReader --> cause ClassNotFoundException:
org.apache.xerces.parseers.SAXParser...is the wiki documentation
perhaps missing a dependency? I grabbed the xercesImpl-2.8.1.jar and
stuffed it in the cas lib directory and then things worked.

On Tue, Jan 5, 2010 at 2:33 PM, Scott Battaglia
<[email protected]> wrote:
> It will attempt any one that matches the criteria (i.e. any that support
> UsernamePasswordCredentials).
>
> You're apparently attempting to log in with credentials that are not
> recognized by either your LDAP server or the additional method from uPortal.
>
>
>
> On Tue, Jan 5, 2010 at 3:28 PM, Curtis Garman <[email protected]> wrote:
>>
>> As far as I know, yes. I mean I already imported the certificate to
>> the keystore and it works just fine to log in the uportal via https
>> (uprotal and cas sharing instance of tomcat)
>>
>> I have the following authentication handlers in the following order
>>
>>
>> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler
>> org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler
>>
>> org.jasig.portal.cas.authentication.handler.support.PersonDirAuthenticationHandler
>>
>> Am I missing an authentication handler? When I try to login and then I
>> look in the logs, I see that it tried to login via and ldap and
>> personDir handlers and they failed. What authentication handler is it
>> suppose to use?
>>
>> On Tue, Jan 5, 2010 at 2:04 PM, Scott Battaglia
>> <[email protected]> wrote:
>> > Does the JVM running CAS trust the CAS certificate?
>> >
>> >
>> > On Tue, Jan 5, 2010 at 2:56 PM, Curtis Garman <[email protected]>
>> > wrote:
>> >>
>> >> I'm trying to configure me CAS 3.3.4 ServicesRegistry according to
>> >> http://www.ja-sig.org/wiki/display/CASUM/Configuring. It sounds to me
>> >> like the minimum requirement is
>> >>
>> >> 1) change the urls in cas.properties --> done; worked fine
>> >> 2) choose which serviceRegistryDao to use --> since I'm just testing
>> >> this functionality at the moment, I want to stay with the default Dao,
>> >> so I didn't do anything here.
>> >> 3) add appropriate users to userDetailsService bean --> the wiki says
>> >> that there is a default user...none exists, so I added one.
>> >>
>> >> When I try visit https://<server>:<port>/cas/services/ I'm redirected
>> >> to the cas login screen...but after typing in the credentials of the
>> >> account defined in the userDetailsService bean, cas comes back and
>> >> says that it can't determine if the credentials are valid.
>> >>
>> >> I also don't quite understand the "Your First Entry" section on
>> >> http://www.ja-sig.org/wiki/display/CASUM/Configuring...it makes it
>> >> sound like you have to enter a service before you can log into the
>> >> manager that allows you to enter services...but how can I do that??
>> >>
>> >> --
>> >> Curtis Garman
>> >> Web Programmer
>> >> Heartland Community College
>> >>
>> >> --
>> >> 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
>> >
>> > --
>> > 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
>>
>>
>>
>> --
>> Curtis Garman
>> Web Programmer
>> Heartland Community College
>>
>> --
>> 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
>
> --
> 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



-- 
Curtis Garman
Web Programmer
Heartland Community College

-- 
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

Reply via email to