Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

CSP-210050: SSO implementation for Confluence in not working for the site. Edited

For Confluence SSO issue we have tried few options by adding customauth jar file and make changes in Seraph-config file, but so far no success.

Its not able to get user information after calling getUser method and throwing null pointer exception, here are the logs :

2017-08-01 19:39:24,396 WARN [http-nio-8090-exec-9][honda.atlassian.confluence.WebSealConfluenceAuthenticator] isValidCaller Received request from 170.108.69.180, remote host is a valid caller.
– referer: http://confluence.example.com/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /s/d31cd7d2fde86846818b7c61a667b08c-CDN/en_GB/7202/57e26a1771e14e3fb96fd7cebe99a87f17d4379c/908a5017a16ca970aea8fe4a1d1970d0/_/download/contextbatch/css/main,-_super/batch.css | traceId: bfb267df95bfd771
2017-08-01 19:39:24,396 WARN [http-nio-8090-exec-9][honda.atlassian.confluence.WebSealConfluenceAuthenticator] getUser Got username from iv-user example%20user
– referer: http://confluence.example.com/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /s/d31cd7d2fde86846818b7c61a667b08c-CDN/en_GB/7202/57e26a1771e14e3fb96fd7cebe99a87f17d4379c/908a5017a16ca970aea8fe4a1d1970d0/_/download/contextbatch/css/main,-_super/batch.css | traceId: bfb267df95bfd771
2017-08-01 19:39:24,396 WARN [http-nio-8090-exec-9][honda.atlassian.confluence.WebSealConfluenceAuthenticator] getUser Got email from header exampleuser@example.com<exampleuser@example.com>
– referer: http://confluence.example.com/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /s/d31cd7d2fde86846818b7c61a667b08c-CDN/en_GB/7202/57e26a1771e14e3fb96fd7cebe99a87f17d4379c/908a5017a16ca970aea8fe4a1d1970d0/_/download/contextbatch/css/main,-_super/batch.css | traceId: bfb267df95bfd771
2017-08-01 19:39:24,396 WARN [http-nio-8090-exec-9][honda.atlassian.confluence.WebSealConfluenceAuthenticator] getUser Custom getUser method called:exampleuser
– referer: http://confluence.example.com/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /s/d31cd7d2fde86846818b7c61a667b08c-CDN/en_GB/7202/57e26a1771e14e3fb96fd7cebe99a87f17d4379c/908a5017a16ca970aea8fe4a1d1970d0/_/download/contextbatch/css/main,-_super/batch.css | traceId: bfb267df95bfd771
2017-08-01 19:39:24,396 WARN [http-nio-8090-exec-9][honda.atlassian.confluence.WebSealConfluenceAuthenticator] getUser Exception: java.lang.NullPointerException
– referer: http://confluence.example.com/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /s/d31cd7d2fde86846818b7c61a667b08c-CDN/en_GB/7202/57e26a1771e14e3fb96fd7cebe99a87f17d4379c/908a5017a16ca970aea8fe4a1d1970d0/_/download/contextbatch/css/main,-_super/batch.css | traceId: bfb267df95bfd771

Can you let us know if we need to make any other change ?

 

We have referred to https://docs.atlassian.com/atlassian-seraph/latest/sso.html?_ga=2.65463720.764808970.1501517357-985999290.1492456333 for writing custom autheticator.

1 comment

Any suggestions on the above query I have posted.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you