How do I upgrade the OpenId4Java jar version in the OpenID plugin? - grails

I have installed the OpenID plugin (v0.4.3) for my Grails(v2.0.1) app but I am having trouble authenticating with Google as the OpenID provider.
I believe the problem is that OpenId4Java v0.9.4 doesn't handle Google's response properly. I read this somewhere the other day but can't find a reference at the moment (will edit when I find it).
So I want to upgrade the version of the OpenId4Java jar that the plugin has with a later version. But I am not sure where/how to do this.
In the <home dir>/.grails/2.0.1/projects/<my project>/plugins/openid-0.4.3/lib folder the jar is java-openid-sxip-0.9.4.jar. And the one I find in the recommended download from http://code.google.com/p/openid4java/ is openid4java-0.9.6.jar.
I've never had to replace a jar supplied by a plugin before so I'm just wondering where I should put the 0.9.6 jar, and how I get my app to recognise it?

It seems that installing version 0.4.4 (released late May 2012) of the OpenID plugin does the trick. It comes with openid4java-nodeps-0.9.6.jar instead of java-openid-sxip-0.9.4.jar meaning the newer version (v0.9.6) of OpenId4Java is used.

Related

Problems with Umbraco version 8.4.0 on Windows 2016 Standard Server

I'm trying to install an Umbraco version 8.4.0 on Windows 2016 Standard Server.
The dev machine is Windows 10 Pro on which the installation works fine.
But when I deploy to the Windows 2016 Standard Server the pages loaded do not format well - the footer, header and other compositions setup in the back-end do render.
There are no 500 server errors or Javascript errors in console. I'm clueless about whats going wrong?
Has anyone installed Umbraco v8 on windows 2016 server, are there any special considerations for installing it?
Please could someone help me, I'm really stuck on it and not sure how to go and resolve it.
We gave "Network Service" permissions to modify the website folders. That fixed it, not sure though why because Umbraco was already running without the "Network services" in the permissions. It was only the new release of the website that got affected, the previous release had no issues without Network Services having these permissions.
If anyone get stuck with something like this should check the permissions for the website folders.

Jenkins fails to send email - Authentication Required

I have a Jenkins server running on a Linux VM. I would like my Jenkins to send me an email every time a build gets started. I have set the email service up as below. As I am using 2 factor authentication for my google account, I have created an app password for Jenkins, but it still says "authentication required". I have also installed the Extended E-mail notification plugin and set it up the exact same way with the same result. Does anyone know what could be the issue here?
I did a test set up and tried using exactly your configuration. I too faced the same issue. Since i had tested this thing long time ago and it worked well then, i knew it had to do with some change in latest plugin version. So i tried downgrading the Mailer plugin from version 1.24 to 1.23 and it worked. :)
You can get the Mailer plugin version 1.23 here.
Details about downgrading a given plugin's version is described here
Note: You don't have to configure Extended E-mail Notification section for this to work. Just leave it as is.

Dockerized WSO2 Identity Server Version 2.3

I am looking for Dockerfiles for the recent WSO 2.3 Identity Server. The files on github seem to be outdated. Is there anything available?
Many thanks!

Spring security not working with Grails project on JBoss Application Server

I have a big(multiple custom plugin based) Grails project, which runs perfectly fine on Tomcat server.
Now for a new customer we need to deploy it on JBoss Application server. It seems to deploy fine without any error but when I try to login on the first page which is implemented using Spring Security plugin. It does not log me in. I have tried going to a valid URL to check if its a problem of redirecting but it is not the case.
Please note it is not showing any error on the log. And since it is not properly executable in development environment so each time I need to build a WAR file to test it.
Grails version: 2.4.4
Spring security version: ':spring-security-core:2.0-RC4'
JBoss version: wildfly-9.0.2.Final
I tried some setups, and they all worked as a simple new project.
I used grails 2.4.4 and spring-security 2.0-RC4.
Here are a few things you could try:
Use latest spring-security version 2.0.0
compile "org.grails.plugins:spring-security-core:2.0.0"
Add jboss plugin and generate deployment xmls (this is needed for grails 2.5.4)
build ':jbossas:1.0'
$grails generate-boss-deploy 6
Create a brand new Wildfly install and deploy your app.
I can only think about a infrastructure problem, since I got no problem with the same setup. I running on Mac, with java 8 and Wildfly 9.0.2 final. Tested grails 2.4.4 and 2.5.4, spring security 2.0-RC4 and 2.0.0.
Best,
Eder

Version 7.1 (7B91b) and TFS Authentication [duplicate]

We are working on Xcode Project connected to our local TFS 2013 (Update 3) Server via TFS Provided Git Repository.
When we use older version of Xcode, we are successfully able to check-in the files and perform all other Git operations. We are also able to perform all Git Operations via command line Git.
The trouble is when we use latest version of Xcode - Version 7.1 (7B91b).
On entering valid credentials, we are getting error saying
Authentication failed because the user name or password was incorrect.
The same credentials / configuration work on older version of Xcode and Git Command Line Options.
To add more to the surprises, we are able to connect to github.com successfully.
We are able to reproduce issue on other systems too. Please provide us the best way to resolve this error.
For us it turned out to be because Xcode 7 does not support Windows Authentication. The solution described here solved it for us:
"This happens because XCode 7 doesn't support Windows Authentication.
I don't know why. It seems to be a common problem amongst users
because there are many posts about it in google.
To make it all work you should enable Basic Authentication in your IIS
TFS website on "tfs" virtual folder.
Be careful though because basic authentication sends your credentials
over network as plain text. You definitely must use SSL in this case."
(source)

Resources