Re: SF Security: How to enable

"Omer Khalid" <[email protected]> Thu, 8 Mar 2007 09:43:35 +0100
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Hello Julio,

Thank you very much for posting the step-by-step guide on how to set up SF
security. I am going to try it :-)

Many thanks!

Omer

On 3/7/07, Guijarro, Julio <[email protected]> wrote:
>
> Hi Omer,
> A quick summary from a previous question:
>
> ----
> The steps should be:
>
> =============================
>   * ant initCA : creates a new Certificate Authority for siging jars and
> generating the credentials ---> Only once!
>
>   * mkdir  signedLib
>
>   *  ant signJars :signs the jar files and populates the dist/signedLib
> dir. Only once (and copy jars to all daemons).
>
>   *  ant newDaemon : creates new host credentials This will generate the
>
> host credentials in
> <smartfrog-installation-dir>/dist/private/hostxxx> directory.
>
>   *  Rename the generated directory
>    /opt/iexpress/smartfrog/private/hostxxx to
>    /opt/iexpress/smartfrog/private/host1.
>
>   *  ant newDaemon : creates 2nd new host credentials This will generate
> the
> host credentials in
> <smartfrog-installation-dir>/dist/private/hostxxx> directory.
>   *  copy the generated directory to 2nd machine:
>    /opt/iexpress/smartfrog/private/hostxxx to
>    <2nd host>/opt/iexpress/smartfrog/private/host1.
>   *  copy the dist/signedLib  directory to 2nd machine in dist/signedLib
>
>   * start Daemon 2
>   * start Daemon 1
>   * deploy application.
>
>
> - Daemon credentials = daemon identity and each host has a unique one
> signed by the same CA.
> - Signed jars = all signed by the same CA that signed the daemons
> identity. Same jars for all the daemons or jar in only one place and
> classes downloaded dynamically in the other participating daemons.
>
> -- Note that when using security you cannot load descriptions from the
> file system, the descriptions have to be contained in singed jars.
>
>
> ---
>
> For more info refer to this previous thread.
> http://thread.gmane.org/gmane.comp.java.smartfrog.devel/811
>
> We will update the Tutorial to cover this topic but if you still have
> problems, please ask again.
>
> Regards,
>
> Julio Guijarro
>
> -----Original Message-----
> From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
> Sabharwal, Ritu (STSD)
> Sent: 06 March 2007 11:01
> To: Omer Khalid
> Cc: Smartfrog Support
> Subject: Re: [Smartfrog-support] SF Security: How to enable
>
> Hello Omer,
>
> Please follow the instructions in sfUserManual under section 6 titled
> "Enabling Security".
>
> Thanks & Regards,
> Ritu.
>
> Omer Khalid wrote:
>
> > Dear "SmartFrog Experts",
> >
> > I have been looking for a step-by-step guide on how to enable SF
> > security. So far I have managed to find bit and pieces in different
> > places :-(.
> >
> > I am wondering if there exist a concise documents? It would be a great
>
> > help if some one could send me the pointer to it.
> >
> > Many thanks in advance!
> >
> > Omer
> >
> > --
> > ---------------------------------------------------------------
> >
>
> >
> > CERN - European Organization for Nuclear
> > IT Department,  CH-1211 Geneva 23, Switzerland
> >
> > Phone: +41 (0) 22 767 7996
> > Fax:     +41 (0) 22 767 4900
> > E-mail : [email protected] <mailto:[email protected]>
> > Homepage: http://cern.ch/Omer.Khalid
> >
> >-----------------------------------------------------------------------
> -
> >
> >-----------------------------------------------------------------------
> --
> >Take Surveys. Earn Cash. Influence the Future of IT
> >Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> >opinions on IT & business topics through brief surveys-and earn cash
> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> >
> >-----------------------------------------------------------------------
> -
> >
> >_______________________________________________
> >Smartfrog-support mailing list
> >Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >https://lists.sourceforge.net/lists/listinfo/smartfrog-support
> >
> >
>
>
>
> ------------------------------------------------------------------------
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> V
> _______________________________________________
> Smartfrog-support mailing list
> Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/smartfrog-support
>



-- 
---------------------------------------------------------------


CERN – European Organization for Nuclear
IT Department,  CH-1211 Geneva 23, Switzerland

Phone: +41 (0) 22 767 7996
Fax:     +41 (0) 22 767 4900
E-mail : [email protected]
Homepage: http://cern.ch/Omer.Khalid

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Smartfrog-support mailing list
Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support