problem about openam-Collection of common programming errors
morbac
liferay autologin opensso openam
I’m writing an autologin hook for liferay, which tries to get the user by screenname. I’m using following code to get the user, which mainly is a variation of OpenSSOAutoLogin:User user = UserLocalServiceUtil.getUserByScreenName(companyId, screenName);This works in most of cases, except when screenname which is recorded in liferay is uppercase. For instance, I cannot get user if the screenname stored liferay is ‘TEST’. The stack trace shows following:com.liferay.portal.NoSuchUserException: No Us
Gordon King
java tomcat single-sign-on openam opensso
amAuthContext:02/12/2014 04:58:20:946 ?? CST: Thread[main,5,main]ERROR: Failed to obtain auth service url from server: null://null:nullI found it in “C:\tomcat_v6_agent\Agent_001\logs\debug”And I’m sure the url that can read and visit,Hers is the setting in OpenSSOAgentConfiguration.propertiescom.iplanet.am.server.protocol=httpcom.iplanet.am.server.host=gordon.demo.comcom.iplanet.am.server.port=8080It already setup in my dns config.Now I can’t start my app tomcat , but openam was in another tom
David van Zijl
java thread-safety openam
I’ve got the following situation in some open source code I’m investigating. It is using a synchronised block which does the following:sets a private boolean instance variable hasListener to true calls a method which does some wait()ing with a big try block around it which stores any exceptions inside an instance variable sets hasListener to false throws any exceptions previously storedThere is another similar method in the same class which does exactly the same thing.In theory this should ensur
Owen
java single-sign-on opensso openam
We are looking to use OpenAM/OpenSSO to act as a SSO provider. We need, however, to have OpenAM use our mongo datastore under the hood to manage its authentication needs. With this in mind, I found this: http://www.badgers-in-foil.co.uk/notes/installing_a_custom_opensso_identity_repository/ which looks promising. Apparently, this should allow me to add an “Access Manager Repository plugin”, but I have since read this:The Access Manager Repository pluginis also called amSDK or legacy SDK asit pr
Arjan Tijms
jboss7.x agent opensso openam
I’d like to add the OpenAM/OpenSSO SSO feature to JBoss EAP 6 or JBoss AS 7. This means I must install an SSO Java EE agent on JBoss. Forgerock’s OpenAM download page gives the opportunity to get agents for previous versions of JBoss, but new JBoss EAP 6 / JBoss AS 7 are not supported (for the moment).Do you know if such an agent is available somewhere, or will be available in short future? If not, do you know how to change JBoss configuration to make it work with OpenAM?
Web site is in building