Skip to Content
0

SSO LoginModule Message

Jan 18, 2017 at 01:32 AM

44

avatar image

Hi Experts:

I follow the following SAP document:How to Set Up Single Sign-On Between an IBM WebSphere Portal and the SAP Enterprise Portal Using JAAS

This Doc version: March 2005 WebSphere6 and SAP ENTERPRISE PORTAL 6.0 SP 10

But our system environment is:WebSphere 6.1 and SAP ENTERPRISE PORTAL 7.00 SP 17

I got userid from the Portal and refreshUserInfo use this user,SSO succeed.

But I want to send some custom message to user when the user was not in EP

  1. throwUserLoginException(Exception exception, byte cause) and throwUserLoginException(Exception exception)
  2. throwNewLoginException("current domain not contained in list of allowed domains", LoginExceptionDetails.USER_IS_CURRENTLY_NOT_VALID) ;
  3. throwUserLoginException(new Exception ("current domain not contained in list of allowed domains"), (byte) 2) ;

these code are not worked,Can anyone help me?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers