Hi,

I am working with JBoss Portal and JBoss AOP and in fact I have two questions...

1) I would like to perform a Login into JBoss Portal from an aspect. I 
intercepted some other method with this aspect, I got username and password 
from this other method and now want to call a login-Method programatically (for 
systems integration purposes). 
I read in Sun's Portal Specification that a getRemoteUser()-method is 
responsible for that, but how do I have to call it in JBoss Portal???

I mean, I have:

String username = "xxx"
  | String password = "yyy"
  | // now I want to call a login-method and get a positive or negative result 
without seeing login-page or something
  | System.out.println("Login on JBoss Portal successful!");

Can anybody give me an idea???

2) When I try to intercept a JBoss Portal-method with an aspect, this will work 
as long as I use jdk1.4. When I use jdk1.5 I get an internal server-error. 
May the java-version be a reason for that???

Thanks for your help
OLLI


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867744#3867744

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867744


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to