Ujjwal,

I can do this from the command line because Allaire provides a class within
jrun.jar which you can run. The following is a usage example of this:

java allaire.jrun.security.PropertyFileAuthentication -add
/usr/local/jrun/lib/users.properties Bob Bobpassword


My question is that if the class "PropertyFileAuthentication.class" exists
already, can I call methods from this class directly in my JSP/Servlet?? If
yes, where do I get the API for "PropertyFileAuthentication.class" ?


Thanks,
Vic


----- Original Message -----
From: Ujjwal Bhattacharyya <[EMAIL PROTECTED]>
To: JRun-Talk <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 12:30 PM
Subject: Re: adding users/passwords programmatically


> Hi Victor,
> You can do that. Just load the user.properties file using the
> java.util.Properties file. There should not be any froblem doing it from
> JSP/servlet. Same peice of code u can use if you done it as a application.
> ----- Original Message -----
> From: Victor Marinelli <[EMAIL PROTECTED]>
> To: JRun-Talk <[EMAIL PROTECTED]>
> Sent: Wednesday, December 06, 2000 4:19 PM
> Subject: adding users/passwords programmatically
>
>
> > Hello,
> >
> >   I want to be able to add/edit  users and passwords in users.properties
> > programmatically. I can do this from a command line without a problem.
Has
> > anyone done this from within their JSP/Servlet code?
> >
> >
> > Any help is appreciated,
> > Victor
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Your ad could be here. Monies from ads go to support these lists and
> provide more resources for the community.
> http://www.fusionauthority.com/ads.cfm
> >
> > Archives: http://www.mail-archive.com/[email protected]/
> > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> >
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Your ad could be here. Monies from ads go to support these lists and
provide more resources for the community.
http://www.fusionauthority.com/ads.cfm
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to