Hi LJ,

Yup..I have downloaded that and looking at it as well.

I believe there could be some configuration issue on our solaris server as on 
Windows environment it works fine.

BTW, midtier version is 7.5 patch 4.

Thnx
Chintan.



--- On Mon, 5/3/10, LJ LongWing <[email protected]> wrote:

From: LJ LongWing <[email protected]>
Subject: Re: SSO Implementation
To: [email protected]
Date: Monday, May 3, 2010, 12:02 PM

**



 
 






I have done quite a bit of research recently and utilized the
sample files given in AREA_SSO_ALL_v206MT_v209AREA.zip (found within the KB at
BMC)….it works pretty good….still working on getting it implemented
though. 

   



From: Action Request
System discussion list(ARSList) [mailto:[email protected]] On Behalf Of 
Chintan
Shah

Sent: Monday, May 03, 2010 12:06 PM

To: [email protected]

Subject: SSO Implementation 



   

**  


 
  
  
  Hi all,

  

  I would like to know if anybody has implemented methodology specified in
  whitepaper here for single sign on.

  http://documents.bmc.com/supportu/documents/57/12/65712/65712.pdf

  

  I have been trying to integrate it but for some reason it goes back to
  Remedy's Midtier login page...not sure where I should go to debug..since
  Remedy doesnt provide Servlet code that  fall back's to login page. I
  have also made appropriate config file change on midtier.

  

  Has anybody successfully implemented it? 

  

  Please share your ideas.

  

  here's sample code that I am using (packaged class in a jar file and then put
  it in Midter/WEB-INF/lib)

  

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

  public class MyAuthenticator implements Authenticator {

     

      public void init(Map cfg) {

  

  }

      public void destroy() {

  

  }

      

      public UserCredentials getAuthenticatedCredentials(

              HttpServletRequest
  request, HttpServletResponse response)

                 
  throws IOException{

          

              String
  user = request.getHeader(userHeaderName);

              String
  pw=null;

              String
  authStr=null;

              if
  ((user!=null&&user.length()>0) ) {

                     
  return new UserCredentials(user.toLowerCase(),pw,authStr);

              }

              else {
  //2. user not auth'd; return null.

              //embed
  routing info in response object if necessary.

                 
  return  new UserCredentials(myUserName,null,null);

              }

      }

  }

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

  

  Thanks

  Chintan. 
  
  
 




_attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_ 



 

_attend WWRUG10 www.wwrug.com  ARSlist: "Where the Answers Are"_





_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to