Custom Security Adapter Custom Security Adapter
Posted 24 May 2012 - 04:36 AM
I find two different examples
This one extends com.actuate.iportal.security.iPortalSecurityAdapter
This one seems to extend com.actuate.iportal.security.LocalSecurityAdapter
Question 1: Which one do i use? I am currently using LocalSecurityAdapter,
Question 2: When i code the authenticate method like the code below and a user logs into IConsole (No matter the userid typed in the login) they are logged in as auser, so I know I am getting to this method.
public boolean authenticate(HttpServletRequest req) throws AuthenticationException
I am looking to use cookie auth like example2 above, and I am confused as to how this would work when logging into iConsole via the iConsole login screen?
Question 3: I was unable to get the cookie thing to work when launching a report using iViewer from a custom web page, my first guess is the cookie domain might need to be set in the web.xml? could this be my issue?
Question 4: How can I log from my custom security adapter class? I tried logging using java.util.logging.Logger, the class seems to run, but nowhere do I see any logs.
I am new to both java and Birt so these might be simple answers for somebody out there.