Unable to Integrating WSO2 Identity Server with Liferay for Authentication - liferay-6

I am trying to work out Liferay Authentication using wso2 Identity Server, I am using liferay 6.2 and Wso2 IS 5.0.0, I am following above link https://docs.wso2.com/display/IS500/Integrating+WSO2+Identity+Server+with+Liferay Accordingly I have created portal-ext.properties file under liferay_home/tomcat/webapps/ROOT/WEB-INF/classes/portal-ext.properties. and added following properties in it:
auth.pipeline.pre=org.wso2.liferay.is.authenticator.WSO2ISAuthenticator
auth.pipeline.enable.liferay.check=false
but when I run liferay portal and try to log in I am getting java.lang.ClassNotFoundException: org.wso2.liferay.is.authenticator.WSO2ISAuthenticator It should be in org.wso2.liferay.xacml.connector.jar but i am not getting this jar any where I tried to find out this class in other jars but unable to find it, I also tries to google it but no success, Please help me out with this problem, Thanks

You can follow the instructions in http://blog.facilelogin.com/2012/10/integrating-wso2-identity-server-with.html. You can find the missing jars from https://svn.wso2.org/repos/wso2/people/prabath/liferay.

Related

WSO2 IWA with Kerberos – unable to decrypt kerberos token exception

We are using WSO2 5.4.1 version and trying to setup IWA using Kerberos. We have done all the configurations as mentioned in the following post.
https://medium.com/#farasath/integrated-windows-authentication-with-kerberos-and-wso2-identity-server-ffcd8263a0f1
When we try to access the application we are getting following exception.
We have checked all the configurations multiple times but not able to figure out the root cause. Can someone help us to find out what could be missing in this setup? Are we missing any additional step?
We have also tried with WSO2 IS version 5.5.0 but still getting same error.
How can we enable additional logging to see what is going wrong with kerberos token decryption?
It was indeed a JDK issue. For some reason we were using Oracle jdk1.8.0_45 and we were facing this issue. We had upgraded the version to jdk1.8.0_162 and we were able to proceed but then we encounter another problem. After authentication we were not getting remote claims in the response from WSO2 IS. As per this post (stackoverflow.com/questions/49997900/…) we upgraded to latest patch of WSO2 IS 5.5.0 and now it is working.
We are able to authenticate user using IWA-Kerberose.

OpenAM exportmetadata giving ERROR: No matching entity metadata found

I had Deployed OpenAM before in my machine and was able to work on it, For Saml Implementation
I was using the link : http://localhost:8080/OpenAM-13.0.0/saml2/jsp/exportmetadata.jsp to export the metadata. It was working fine in my machine.
But now after deploying the same war in someone's else machine when i go to the same link i get ERROR: No matching entity metadata found.
Please help, not able to get any idea what is wrong
-regards Joydeep
I had to create a Hosted IDP into OpenAM giving the link http://localhost:8080/OpenAM-13.0.0/ Now its working. Thanks #Bernhard

Build Service issue Liferay

I'am using the liferay-portal-6.2-ce-ga4. I created a configuration for the Liferay Service Builder. But when I restart the Server or deploy the project, then I received the following error like in picture
How, I can solve this problem,
thanks
https://hizliresim.com/48mkzL

SOAP Web Service Client conflcts with xfire

I generated wsdl using wsimport from JDK 1.6. I then wrote a client to invoke the web service I got the following error.
java.lang.IllegalStateException: Could not initialize Service.
at org.codehaus.xfire.jaxws.ServiceDelegate.<init>(ServiceDelegate.java:77)
at org.codehaus.xfire.jaxws.Provider.createServiceDelegate(Provider.java:32)
at javax.xml.ws.Service.<init>(Service.java:56)
Then I removed xfire-all 1.2.6 jar used in my
application and found it working but only if the class was invoked from command line and not from application functionality which is the real need as removing xfire jar is not an option for me..Please help I read numberyyy of posts but did not get any fruitful solution yet.
Thanks in advance

Cannot install IBM Eclipse tools for Bluemix due to network issue

I'm trying to install IBM Eclipse tools for Bluemix but getting this error:
An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). Unable to read repository at
http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar.
Connection reset
I tried to use solution from this dW Answers post Downloading Bluemix plugin for Eclipse... Is it even possible??? but it didn't help.
When I went and tried to manually download file by using this link : http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar I get an error:
This webpage is not available
But when I changed link to use https as following, it works:
https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar
So, my question is how can I redirect all "problematic" links to correct web site? In other words, is it possible to one url to another url?
Thank you.
UPDATE:
Tried to install this plugin at home and everything worked. I suspect that something wrong with a network on a work, will ask our admins to try to investigate the issue and post it back if we'll discover something interesting.
UPDATE 2
Confirmed by admins. It was a temporary network issue.
here is the last updated guide for Eclipse Bluemix tool plugin, which should be always used to install this plugin for the first time, in order to be sure on using the right version
https://www.ng.bluemix.net/docs/#manageapps/eclipsetools/eclipsetools.html#eclipsetools
At the following url a shorted version with Eclipse installation link:
https://www.ng.bluemix.net/docs/starters/deploy_eclipsetools.html
Your issue could be related to an obsolete reference updated with a new release version for the plugin.