RE: JetSpeed on WebSphere

2002-11-28 Thread Aliyar, Nishar
Heei ,
Well you don't need any special thinks, open the admin console of the websphere 
and browse your .war file fill the name for context root, thats all, try out
and let me know.

Greetings
Nishar.

-Original Message-
From: Sakar Kawle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 3:51 AM
To: [EMAIL PROTECTED]
Subject: JetSpeed on WebSphere



Are there any pointers/docs/url's that can help us to install JetSpeed 
on WebSphere. I tried searching for information... but found none. We 
have Jetspeed running all "out-of-the-box" on Tomcat but we want to run 
this on WebSphere. 

I found messages that indicate to me that people have tried this 
successfully. Currently I do not know what are all the components needed to 
get this running successfully on WebSphere.

Thanks in Advance,

Sakar




-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: jetspeed authentication using LDAP

2002-10-08 Thread Aliyar, Nishar

Hai Keshava,

 Why don't U try to write a plugable security model for LDAP, all the security model
specification are provided by Jetspeed documentation.

Cheers,
NPA.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 2:55 PM
To: Jetspeed Users List
Subject: RE: jetspeed authentication using LDAP



Thanks..
I am starting think this is the case in jetspeed 1.3 also, since there is
no class similar to JetspeedDBSecurityService for LDAP.



   
 
"Weaver,   
 
Scott"   To: 'Jetspeed Users List' 
<[EMAIL PROTECTED]>   
Subject: RE: jetspeed authentication 
using LDAP
   
 
10/08/02 05:58 
 
PM 
 
Please respond 
 
to "Jetspeed   
 
Users List"
 
   
 
   
 




> But, what seems simple in jetspeed1.3 seems
> to
> be spread over a lot of files in jetspeed1.4 .

Jetspeed Security Services have been re-designed from the ground up,
outside of Turbine's security service.  I doubt that just changing the
Jetspeed Security Service information in the properties file to Turbine's
LDAP service will work.  I have 2 reasons why this won't work:

1. AFAIK, Turbine's LDAP security has never been complete.  I know there
has been some talk in recent weeks on the Turbine list about LDAP and
security in general but I don't think any progress has been made due to
apparent lack of interest.  Someone correct me if I'm wrong.

2. I am almost positive that Turbine's LDAP security does not implement the
correct security interfaces required by jetspeed security to just be
"plugged in."


Scott

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 2:19 AM
> To: Jetspeed Users List
> Subject: Re: jetspeed authentication using LDAP
>
>
> We can change the SecurityService class to be used to LDAPSecurityService
> and the User and UserManager classes to LDAPUser and LDAPUserManager in
> org.apache.turbine.services.security.ldap package. This is supposed to be
> just a property file change. But, what seems simple in jetspeed1.3 seems
> to
> be spread over a lot of files in jetspeed1.4 . And also, as you have
said,
> there is this TurbineAuthentication in jetspeed itself, instead of using
> classes directly from Turbine.
> Has anybody tried to use LDAP authentication in jetspeed1.4 by just
> changing the property files to point to an LDAPSecurityService
>
> Regards,
> Lavanya
>
>
>
>
> Glen Carl
>  <[EMAIL PROTECTED]>
> erey.com>cc:
>  Subject: Re: jetspeed
> authentication using LDAP
> 10/02/02 11:15
> PM
> Please respond
> to "Jetspeed
> Users List"
>
>
>
>
>
>
> I am currently customizing
> jetspeed/services/security/turbine/TurbineAuthentication.java
> to send a SOAP message to a web service that interfaces with LDAP. Our
> SOAP request contains username and password, and the SOAP response
> returns a Success/Failure status code and some custom user information.
> Using the SOAP web service allows us to keep our authentication
> adaptable and independent of the portal and LDAP vendors. Has anyone
> else attempted to authenticate via a SOAP web service?
>
>  From what I understand from the Jetspeed security documentation, you do
> not need to use the TurbineAuthentication. However, Turbine currently
> fits well with Jetspeed, and this is why I am modifying
> TurbineAuthentication.java as a start. I am interested in any other
> Authentication implementations that the Jetspeed community feels will
> replace Turbine.
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> > I am a new user to jetspeed. Has anyone replaced the database based
user
> > authentication wit

Single sign-on in Jetspeed

2002-09-09 Thread Aliyar, Nishar

Hai All,

 Does any body implemented single sign-on in Jetspeed ?.
I am looking forward to have some hints from the group.

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Accessing Velocity Context Object in .vm file

2002-09-04 Thread Aliyar, Nishar

Hai All,

 How I can access the org.apache.velocity.context.Context object in a .vm file, dears.

Looking forward

Greetings,
Nishar.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Problem with Portlet and JSP

2002-09-03 Thread Aliyar, Nishar


Hai All,
 I got a problem with Portlet and JSP. I wrote a Portlet which disply a jsp like this 

public ConcreteElement getContent(RunData data){

 try{

  return (new EcsServletElement(data,"WEB-INF/my-jsp/CreateLdapRoleGuiJsp.jsp"));
  }
  catch(Exception ee){
   
ee.printStackTrace();
  }
}

okai portlet is abple to disply CreateLdapRoleGuiJsp.jsp and my 
CreateLdapRoleGuiJsp.jsp is like :


Enter The LDAP Role   :





but when click the button it won't go to Test2.jsp , I placed the Test2.jsp with the
CreateLdapRoleGuiJsp.jsp (I mean in the same folder) 
whats wrong here dears,

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: JSP inside the Portlet

2002-09-03 Thread Aliyar, Nishar

Hai Hugh & Paul,

Cool both ways works fine, thanks a lote dears.

Cheers,
Nishar.



-Original Message-
From: Hugh Brien [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 5:27 AM
To: Jetspeed Users List
Subject: Re: JSP inside the Portlet


Here is another way to put a JSP in a portlet. If none of the other options
work for you.

import org.apache.jetspeed.portal.portlets.AbstractPortlet;
import org.apache.turbine.util.*;
import org.apache.jetspeed.util.servlet.*;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;

public class ContentPortlet extends AbstractPortlet
{
public ConcreteElement getContent (RunData runData)
{
 return (new EcsServletElement(runData,"/dynamic/kd/home.jsp"));
}
}







- Original Message -
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 02, 2002 10:58 AM
Subject: Re: JSP inside the Portlet


> Nishar,
> A JSP can generate the portlet's content, see
http://jakarta.apache.org/jetspeed/site/portlet_config_JSP.html
>
> You can also use the WebPagePortlet that is a link to a web page the is
generated via a JSP.
>
> I an not sure what you mean by 'disply a JSP page inside the portlet'.
>
> Paul Spencer
>
>
> Aliyar, Nishar wrote:
>
> >Hai All,
> >
> >How I can disply a JSP page inside the portlet. If there is an example
let me know please.
> >
> >Greetings,
> >Nishar.
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




JSP inside the Portlet

2002-09-02 Thread Aliyar, Nishar

Hai All,

How I can disply a JSP page inside the portlet. If there is an example let me know 
please.

Greetings,
Nishar.



-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 02, 2002 4:58 PM
To: Jetspeed Users List
Subject: Re: Portlets Configuration : Urgent


Nishar,
Use security.  The simplest is to set the security-ref="admin-only" in the psml.  This 
will only allow user in with the role admin from viewing the portlet.  Another 
approach it to use PortalAccessController.checkPermission() in you portlet to verify 
the user is allowed.  See 
org.apache.jetspeed.services.security.PortalAccessController.java and the security 
proposal, 
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed/proposals/Security.txt?rev=HEAD&content-type=text/vnd.viewcvs-markup

Paul Spencer



Aliyar, Nishar wrote:

>Hai All,
> I wrote a portlet and I wanted to display this portlet only when the admin loged in 
>how I can do this. How is the configuration for the portlet and which files.
>
>Greetings,
>Nishar.
>
>///
>
>public class LdapAdminPortlet extends AbstractPortlet{
>
>  public LdapAdminPortlet() {
>  }
>
>  public ConcreteElement getContent(RunData data){
>
>  try{
>
>return new StringElement ("test ") ;
>
>  }
>  catch(Exception ee){
>
>Log.info(" exception from LdapAdminPortlet : "+ee);
>ee.printStackTrace();
>  }
>
>return new StringElement ("test ") ;
>  }
>}
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Portlets Configuration : Urgent

2002-09-02 Thread Aliyar, Nishar

Hai Paul,
 Thanks, it works.

Nishar



-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 02, 2002 4:58 PM
To: Jetspeed Users List
Subject: Re: Portlets Configuration : Urgent


Nishar,
Use security.  The simplest is to set the security-ref="admin-only" in the psml.  This 
will only allow user in with the role admin from viewing the portlet.  Another 
approach it to use PortalAccessController.checkPermission() in you portlet to verify 
the user is allowed.  See 
org.apache.jetspeed.services.security.PortalAccessController.java and the security 
proposal, 
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed/proposals/Security.txt?rev=HEAD&content-type=text/vnd.viewcvs-markup

Paul Spencer



Aliyar, Nishar wrote:

>Hai All,
> I wrote a portlet and I wanted to display this portlet only when the admin loged in 
>how I can do this. How is the configuration for the portlet and which files.
>
>Greetings,
>Nishar.
>
>///
>
>public class LdapAdminPortlet extends AbstractPortlet{
>
>  public LdapAdminPortlet() {
>  }
>
>  public ConcreteElement getContent(RunData data){
>
>  try{
>
>return new StringElement ("test ") ;
>
>  }
>  catch(Exception ee){
>
>Log.info(" exception from LdapAdminPortlet : "+ee);
>ee.printStackTrace();
>  }
>
>return new StringElement ("test ") ;
>  }
>}
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Portlets Configuration : Urgent

2002-09-02 Thread Aliyar, Nishar

Hai All,
 I wrote a portlet and I wanted to display this portlet only when the admin loged in 
how I can do this. How is the configuration for the portlet and which files.

Greetings,
Nishar.

///

public class LdapAdminPortlet extends AbstractPortlet{

  public LdapAdminPortlet() {
  }

  public ConcreteElement getContent(RunData data){

  try{

return new StringElement ("test ") ;

  }
  catch(Exception ee){

Log.info(" exception from LdapAdminPortlet : "+ee);
ee.printStackTrace();
  }

return new StringElement ("test ") ;
  }
}


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Exception when PsmlManager as Database

2002-08-19 Thread Aliyar, Nishar

Hai All,

  I got a problem with the PSML file. I configured my PSML storage as Oracle DB and I 
created 'security-schema.sql' file for Oracle and comment the CastorPsmlManagerService
finally what I am getting is an exception saying 'Jetspeed_profile_psml' table not 
found, I check my security-schema.sql for the structure of the table , unfortunately I 
didn't find the table , what's going on here ? did I miss something ?
I am running out of time dears.

Looking forward ,
Greeting
Nishar.







--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




User name in JLogoutUser action.

2002-08-16 Thread Aliyar, Nishar

Hei All,

   Is there any way to get the user name in the JLogoutUser action , I mean I wanted 
to get the name of the user in JLogoutUser action which trying for logout from the 
system.

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Exception when new user creation ......Urgent

2002-08-14 Thread Aliyar, Nishar

Hai David,

   Thanks alot for the prompt reply, I resolve the problem.

Cheers,
Nishar.

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 6:43 PM
To: Jetspeed Users List
Subject: RE: Exception when new user creation ..Urgent


There seems to be a problem when you create the PSML, which then throws an
exception, the transaction tries to rollback by deleting the user from the
db, and then you finally get the exception below. The root of the problem is
that the PSML fails to create, yet its unfortunate that we don't have the
original stack trace which was actually printed out to the console. See the
method  addDefaultPSML where it prints the stack trace. Modify this and
change the stack trace to go to the log file, or just send us the stacktrace
from the console.

catch (Exception e)
{
e.printStackTrace();
removeUser(new UserNamePrincipal(user.getUserName()));
throw new UserException("Failed to create profile for new user
", e);
}

Also, are you using DB PSML?

The secondary problem seems to be that the cascading delete option wasn't
properly generated. Make sure that the torque generated sql file has the
cascade delete option:

ALTER TABLE TURBINE_USER_GROUP_ROLE
ADD CONSTRAINT TURBINE_USER_GROUP_ROLE_FK_1 FOREIGN KEY (USER_ID)
REFERENCES TURBINE_USER (USER_ID) ON DELETE CASCADE;

(I also use Oracle, and it generated correctly for me)

And, when using Oracle, make sure that you set this to false:

services.JetspeedSecurity.programmatic.cascade.delete=false



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Exception when new user creation ......Urgent

2002-08-14 Thread Aliyar, Nishar

Hai all,

 I am getting this exception when I try to create a new user in Jetspeed1.4
If any body got any idea why this exception please let me know, I am stuck with this 
probs.

Cheers,
Nishar.




  java.sql.SQLException: ORA-02292: integrity constraint 
(SYSTEM.TURBINE_USER_GROUP_ROLE_FK_1) violated - child record found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java(Compiled Code))
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java(Compiled Code))
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738)
at 
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232)
at 
oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353)
at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760)
at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1805)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:322)
at com.workingdogs.village.Record.saveWithDelete(Unknown Source)
at com.workingdogs.village.Record.save(Unknown Source)
at com.workingdogs.village.Record.save(Unknown Source)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:700)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:563)
at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.doDelete(BaseTurbineUserPeer.java:461)
at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.doDelete(BaseTurbineUserPeer.java:436)
at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.removeUser(TurbineUserManagement.java:402)
at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.addDefaultPSML(TurbineUserManagement.java:364)
at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.addUser(TurbineUserManagement.java:326)
at 
org.apache.jetspeed.services.JetspeedUserManagement.addUser(JetspeedUserManagement.java:141)
at 
org.apache.jetspeed.services.JetspeedSecurity.addUser(JetspeedSecurity.java:237)
at 
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(CreateNewUserAndConfirm.java:208)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:143)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:510)
at org.apache.turbine.Turbine.doPost(Turbine.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at 
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.j

Creating "default.psml" file

2002-08-12 Thread Aliyar, Nishar

Hai All,
  How I can create a "default.psml" file for a user( actually I have my own user 
object from LDAP). I am expecting a behavior just like when the new user creation time 
system is creating directory structure and a "default.psml" file I exactly want a 
behavior like this when I login first time from LDAP. Give me some hints please.

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Role, Permission etc.. for LDAP User ?

2002-08-01 Thread Aliyar, Nishar

Hai Ender,

Yes I got the Role object and permission object etc... but now, how I can add 
or
assign this role and permission to the newly created user from LDAP ? Is there any way 
to add this role and permission to user object and to retrive from user object 
directly insted of caching etc..

Greetings,
Nishar.

  



-Original Message-
From: Ender KILICOGLU [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 10:23 AM
To: 'Jetspeed Users List'
Subject: RE: Role, Permission etc.. for LDAP User ?


Yes there is
Override Role and Security management classes. You can give any default
values inside your get function and dismiss set fuction. So it will be
enough

Replace at security config role and security management clases with
yours. I suggest to do not change registry access control, You can get
more info at portlet security configuration files about this. 


Ender


-Original Message-----
From: Aliyar, Nishar [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 4:49 PM
To: Jetspeed Users List
Subject: Role, Permission etc.. for LDAP User ?


Hai All,

Well , is there any way to assign Role, Permission etc... for a user
manually, what I mean is , I created a user object from the LDAP and I
loged with the user now I wanted to assign some permission , role etc or
is it possible to have a default mode ? or what is gonna happen if I
replace the service "RegistryAccessController" with
"NoSecurityAccessController" ?

Greetings,
Nishar.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Role, Permission etc.. for LDAP User ?

2002-07-31 Thread Aliyar, Nishar

Hai All,

Well , is there any way to assign Role, Permission etc... for a user manually, 
what I mean is , I created a user object from the LDAP and I loged with the user now I 
wanted to assign some permission , role etc or is it possible to have a default mode ? 
or what is gonna happen if I replace the service "RegistryAccessController" with 
"NoSecurityAccessController" ?

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Single sign-on With Jetspeed

2002-07-29 Thread Aliyar, Nishar

Hai All,

 Actually I wanted to implement single sign-on in Jetspeed.
So if somebody did it, please let me knwo how I can manage the stuff same time 
all the Suggestions are welcome.

Greeting
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Getting Jetspeed Web Application Root

2002-07-25 Thread Aliyar, Nishar

Heei All,

How I can get the jetspeed web application root in a helper class or even in a new
action class ?

Greetings,
Nishar.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




"ProfileException" When the user try to login

2002-07-24 Thread Aliyar, Nishar

Heei All,

   I am getting an "ProfileException" when the user try to login the system.
Does any body know the possibilities for this exception .

Greeting,
Nishar.

Turbine.handleException: java.lang.NullPointerException
[12:31:41,911 ERROR] 
org.apache.jetspeed.om.profile.ProfileException: java.lang.NullPointerException
at 
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:414)
at 
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:287)
at 
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:440)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:123)
at 
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:99)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:476)
at org.apache.turbine.Turbine.doPost(Turbine.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at 
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
[12:31:43,904 ERROR] Error rendering Velocity template: layouts/default.vm: Unable to 
find resource 'layouts/default.vm'
[12:31:43,904 ERROR] Error rendering Velocity template: layouts/default.vm: Unable to 
find resource 'layouts/default.vm'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 
'layouts/default.vm'
at 
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:501)
at 
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:384)
at 
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:812)
at 
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:355)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:482)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
org.apache.turbine.util.TurbineException: Error rendering Velocity template: 
layouts/default.vm: Unable to find resource 'layouts/default.vm'
at 
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:524)
at 
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:490)
at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:327)
at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:146)
at 
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106)
at org.apache.turbine.modules.Layout.build(Layout.java:91)
at org.apache.tu

Implementing New Security Model In 1.4

2002-07-23 Thread Aliyar, Nishar

Hai All,

   Does any body implemented new security model for Jetspeed1.4, What I wanted to 
implement is a security frame work for LDAP. If the user not found in normal DB the 
addtional security has to look for LDAP user. Givem me some hints please, for 
implementing this I am stuck with this issue.

Greetings,
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Doubt about execution flow of Jetspeed

2002-07-22 Thread Aliyar, Nishar

Hai All,

 I got a doubt about the execution flow of the Jetspeed. When I invoke the Turbine 
servlet, why the system look for the users,
I mean why execution of getUser() method when I am not trying for loging and if it is 
necessray where from the getUser() is called at the time of servlet instantiation.

Note : * is my logging statement.


* Inside the getService() of JetspeedAuthentication ..going to 
TurbineAuthentication class *
[15:04:55,730 INFO ]  * Inside the getUser() of JetspeedUserManagment * 
[15:04:55,730 INFO ]  * Inside the getUser() of TurbineUserManagment *
[15:04:55,750 INFO ] * Criteria created * 
[15:04:56,010 INFO ] IDBroker thread was started.
[15:04:56,321 DEBUG] SELECT TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME, 
TURBINE_USER.PASSWORD_VALUE, TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, 
TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, 
TURBINE_USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED, 
TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE (TURBINE_USER.LOGIN_NAME='anon')
[15:04:56,331 DEBUG] Elapsed time=10 ms

Greetings and Looking forward to hearing from the team.

Nishar.






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




How Can I integrtae LDAP lookup and OracleDB together

2002-07-17 Thread Aliyar, Nishar

Hai All,

 Does any body did JetspeedDB (I mean Oracle or default data base by Jetspeed) and 
LDAP server for loging purpose. Actually I wanted to look for user in the LDAP when 
the particular user not found in the defaultDB.  I am stuck with this probs my dears.

Looking forward to hear from the experts,
Greetings
Nishar.










--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Getting "NullPointerException" when accessing "data.getUser().getConfirmed();"

2002-07-17 Thread Aliyar, Nishar

Hai All,

 I am getting an "NullPointerException" from JLoginUser action class.
Actually what I am doing is : first the system looking for the user in the OracleDB if
the user not found LoginUser action again make a call to LDAP in the catch block of 
"TurbineSecurityException "from LoginUser action and I am executing the statements 
from LoginUser action like :

user = new LDAPUserManager().retrieve(username,password) ;

data.setUser(user);

// Mark the user as being logged in.
user.setHasLoggedIn(new Boolean(true));

// Set the last_login date in the database.
user.updateLastLogin();

// This only happens if the user is valid; otherwise, we
// will get a valueBound in the User object when we don't
// want to because the username is not set yet.  Save the
// User object into the session.
data.save();

and after action return to the "JLoginUser" action class and from there  system 
entering to  :

if ( data.getUser().hasLoggedIn())
{
data.getUser() .setConfirmed("CONFIRMED");
String confirmed = data.getUser().getConfirmed();
Log.info(" --- confirmed = "+confirmed);

HERE I AM GETTING THE VALUE NULL :

Do I forget somethink ? or even I am doing like this for security in "LDAPUserManager" 
class in the "User retrieve(String username) method ":

ldapUser.setUserName(f);
ldapUser.setConfirmed(User.CONFIRM_DATA );
ldapUser.setHasLoggedIn(new Boolean(true));
Log.info(" --- LDAPUser  = "+ldapUser);
ldapUser.setTemp("turbine.user", ldapUser);

still its same behaviour .
Please give some hints to over come this issue.

Note : my LDAP authentication and searching and all the operations are okai.

Greetings
Nishar.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Jetspeed and LDAP integration( running out of time )

2002-07-12 Thread Aliyar, Nishar

Hai All,

 I wanted to integrate LDAP server with Jetspeed for the loging purpose(I mean the 
User object have to cretaed out of LDAP information.).Does  any body already did it ? 
or any ideas ?. Well I am able to integrate with Oracle now.

Any help will be appreciated.
Greetings
Nishar.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: