cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 201510-EZ Cas authentication

carlosjl
Champ in-the-making
Champ in-the-making
Hello.
I installed alfresco CE 5.0.c with jasig cas client to authentication. The environment does not work very well.
- Error ftp server:

Exception in thread "Sess_FTP1_10.139.108.83" java.lang.StackOverflowError
at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883)
at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.getApplicationContext(ChildApplicationContextFactory.java:441)
at org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager$ApplicationContextManagerState.getApplicationContext(DefaultChildApplicationContextManager.java:360)
at org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager.getApplicationContext(DefaultChildApplicationContextManager.java:197)
at org.alfresco.repo.security.authentication.subsystems.SubsystemChainingFtpAuthenticator.getUsableFtpAuthenticators(SubsystemChainingFtpAuthenticator.java:69)
at org.alfresco.repo.security.authentication.AbstractChainingFtpAuthenticator.authenticateUser(AbstractChainingFtpAuthenticator.java:40)
at org.alfresco.repo.security.authentication.AbstractChainingFtpAuthenticator.authenticateUser(AbstractChainingFtpAuthenticator.java:42)
at org.alfresco.repo.security.authentication.AbstractChainingFtpAuthenticator.authenticateUser(AbstractChainingFtpAuthenticator.java:42)

- Error google docs:

ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-1] Exception from executeScript - redirecting to status template error: 10200001 Wrapped Exception (with status template): I/O error on POST request for "https://accounts.google.com/o/oauth2/token": Connection reset; nested exception is java.net.SocketException: Connection reset
org.springframework.extensions.webscripts.WebScriptException: 10200001 Wrapped Exception (with status template): I/O error on POST request for "https://accounts.google.com/o/oauth2/token": Connection reset;
.
.
.
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://accounts.google.com/o/oauth2/token": Connection reset; nested exception is java.net.SocketException: Connection reset
        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:528)
        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:476)
.
.
.
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:196)
        at java.net.SocketInputStream.read(SocketInputStream.java:122)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)


I want to update to Alfresco 201510-EZ (issues corrections) but I can not get a good settings to jasig cas authentication. Share show the Cas Login but then redirect to share login.

Could anyone help in configuration and is recorded in the blog for future reference??

I attach some files.
1 REPLY 1

idwright
Star Collaborator
Star Collaborator
I haven't tried 201510-EZ but as recorded elsewhere in this forum 5.0.d doesn't work with CAS and I don't think it's been fixed since.

You might like to look at this working example (with 5.0.d) https://github.com/wrighting/alfresco-cas

Not sure on the timing/versions but the google docs integration required an upgrade due to changes in the Google API - I think it was in about April 2015