Now, i try this config on WAS6.1, it can't connect to filenet again, seems
jaas login module
2011-01-19
Robin
发送时间: 2010-12-18 16:06:40
收件人: Jetspeed Users List
抄送:
主题: Re: Re: how to add jaas login mode into jetspeed 2.2.1
thank you Woonsan , it works after add the loginmodue config into login.conf
2010-12-18
Robin
发件人: Woonsan Ko
发送时间: 2010-12-16 15:18:33
收件人: Jetspeed Users List
抄送:
主题: Re: how to add jaas login mode into jetspeed 2.2.1
Hi Robin,
Because it uses a JAAS LoginModule by default, Jetspeed configures
'java.security.auth.login.config' property with a configuration which is found
in jetspeed-security-2.2.x.jar!/login.conf, which is defined as follows:
Jetspeed {
org.apache.jetspeed.security.impl.DefaultLoginModule required;
};
So, probably you can add login.conf into /jetspeed/WEB-INF/classes/ to replace
the default one with your custom one which includes Jetspeed and the other
things.
-Woonsan
--- On Wed, 12/15/10, robin <[email protected]> wrote:
> From: robin <[email protected]>
> Subject: how to add jaas login mode into jetspeed 2.2.1
> To: "jetspeed-user" <[email protected]>
> Date: Wednesday, December 15, 2010, 7:58 AM
> HI all
>
> i'm add filenet client jar's into jetspeed project try to
> get some information from filenet server,
> i add jaas config into jetspeed project 's classes path,
> it cann't work. but same config in a web project
> works.
>
> i added config file jaas.conf.WSI into classes, following
> is it's config items:
> FileNetP8 {
> com.filenet.api.util.WSILoginModule required;
> };
> FileNetP8WSI {
> com.filenet.api.util.WSILoginModule required;
> };
> FileNetP8Engine {
> com.filenet.api.util.WSILoginModule required;
> };
> FileNetP8Server {
> com.filenet.api.util.WSILoginModule required;
> };
>
> error message:
> -----------------------------------------------------------------------------------
> com.etune.p8.pehelper.P8BpmException:
> VWException.getMessage():(get JAAS enviroment error):
> javax.security.auth.login.LoginException: doesnot config
> FileNetP8Engine LoginModules
> VWException.getKey():orb.session.FailedToCreateJAASContext
> at
> com.etune.p8.pehelper.SessionHelper.logon(SessionHelper.java:71)
> at
> com.adm.infoportal.bpm.web.action.BpmAction.showList(BpmAction.java:124)
>
>
> 2010-12-15
>
>
>
> Robin
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]