portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evangelos Vlachogiannis <evl...@aegean.gr>
Subject Re: CAS authentication / authorization
Date Wed, 22 Jul 2009 07:59:36 GMT
Hi David,

with updated source (see attached) I get attached exception and on the 
console:
gr.uportal.filter
user: nipapado
user: nipapado not in portal db
user: nipapado not created1

thnx for your time,
V.

David Sean Taylor wrote:
> On Jul 21, 2009, at 1:35 AM, Evangelos Vlachogiannis wrote:
>
>   
>> Hi again,
>>
>> thnx for the response. I use jetspeed 2.2 but I do not want to talk  
>> directly to the LDAP.
>> I am introducing a filter based on PortalFilter (see attached  
>> CASPortalFilter.java implementation in order to: (http://u-portal.gunet.gr:8080/uportal3/

>> )
>> - get the username of authenticated user -> done
>> - if username does not appear in portal db -> create new user with  
>> username and assign default group/roles (in future I plan to  
>> introduce a mapping mechanism)
>> - put principal in portal context
>>
>> Problems till now:
>> - exception (see attached exception.txt) Any help ??
>> - As the CAS filter has a url-pattern="/*" (see web.xml) how can a  
>> user see public pages without being redirected to CAS
>> Any help would be appreciated.
>>
>>     
>  From the line number of the NPE, my guess is that the user is null
>
> Do you see any of these exceptions occurring?
>
> 	} catch (RegistrationException e1) {
> 					// TODO Auto-generated catch block
> 					System.out.println("user: " + userName + " not created");
> 				} catch (SecurityException e1) {
> 					// TODO Auto-generated catch block
> 					System.out.println("user: " + userName + " not created");
> 				}
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.392 / Virus Database: 270.13.20/2251 - Release Date: 07/20/09 18:29:00
>   

Mime
View raw message