Java SAML2 SSO clientIs Java “pass-by-reference” or “pass-by-value”?How do I efficiently iterate over each entry in a Java Map?What is the difference between public, protected, package-private and private in Java?How do I read / convert an InputStream into a String in Java?When to use LinkedList over ArrayList in Java?How do I generate random integers within a specific range in Java?SSO with CAS or OAuth?How do I convert a String to an int in Java?Creating a memory leak with JavaSAML2 SSO with sun httpserver
I keep switching characters, how do I stop?
Offset in split text content
What should be the ideal length of sentences in a blog post for ease of reading?
What is the meaning of "You've never met a graph you didn't like?"
Has the laser at Magurele, Romania reached a tenth of the Sun's power?
Why do Radio Buttons not fill the entire outer circle?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
Travelling in US for more than 90 days
Sort with assumptions
Why can't I get pgrep output right to variable on bash script?
Asserting that Atheism and Theism are both faith based positions
Extract substring according to regexp with sed or grep
What can I do if I am asked to learn different programming languages very frequently?
When is the exact date for EOL of Ubuntu 14.04 LTS?
Pre-Employment Background Check With Consent For Future Checks
Highest stage count that are used one right after the other?
How can a new country break out from a developed country without war?
New Order #2: Turn My Way
Not hide and seek
How do I prevent inappropriate ads from appearing in my game?
Do native speakers use "ultima" and "proxima" frequently in spoken English?
Why didn’t Eve recognize the little cockroach as a living organism?
Should I warn a new PhD Student?
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Java SAML2 SSO client
Is Java “pass-by-reference” or “pass-by-value”?How do I efficiently iterate over each entry in a Java Map?What is the difference between public, protected, package-private and private in Java?How do I read / convert an InputStream into a String in Java?When to use LinkedList over ArrayList in Java?How do I generate random integers within a specific range in Java?SSO with CAS or OAuth?How do I convert a String to an int in Java?Creating a memory leak with JavaSAML2 SSO with sun httpserver
I want to connect to a SAML2 SSO identity provider with java so that I can then connect to some web endpoints and make authenticated requests.
I looked at the Java libraries at https://github.com/onelogin but they appear to be libraries for providing SAML authentication, as opposed to connecting to SAML as a client.
Does anyone know of any Java libraries for this. With examples would be great as I am a beginner with SAML2.
java security saml saml-2.0
add a comment |
I want to connect to a SAML2 SSO identity provider with java so that I can then connect to some web endpoints and make authenticated requests.
I looked at the Java libraries at https://github.com/onelogin but they appear to be libraries for providing SAML authentication, as opposed to connecting to SAML as a client.
Does anyone know of any Java libraries for this. With examples would be great as I am a beginner with SAML2.
java security saml saml-2.0
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23
add a comment |
I want to connect to a SAML2 SSO identity provider with java so that I can then connect to some web endpoints and make authenticated requests.
I looked at the Java libraries at https://github.com/onelogin but they appear to be libraries for providing SAML authentication, as opposed to connecting to SAML as a client.
Does anyone know of any Java libraries for this. With examples would be great as I am a beginner with SAML2.
java security saml saml-2.0
I want to connect to a SAML2 SSO identity provider with java so that I can then connect to some web endpoints and make authenticated requests.
I looked at the Java libraries at https://github.com/onelogin but they appear to be libraries for providing SAML authentication, as opposed to connecting to SAML as a client.
Does anyone know of any Java libraries for this. With examples would be great as I am a beginner with SAML2.
java security saml saml-2.0
java security saml saml-2.0
asked Mar 7 at 1:20
Al GrantAl Grant
440416
440416
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23
add a comment |
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23
add a comment |
1 Answer
1
active
oldest
votes
From what I can understand, The OneLogin lib should do what you want. It will have your Java application act as a Service Provider and make authentication requests.
Spring SAML is another alternative and Lastpass has yet another alternative
You could also do SAML on a more low level using OpenSAML, but for a simple use-case the libs above will do the trick.
To get a feel for SAML I can hint for my book, A Guide to OpenSAML. It explains SAML and how to do user authentication using OpenSAML. Again I recommend the libs above, but the book can be good to get a understanding of SAML.
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034633%2fjava-saml2-sso-client%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From what I can understand, The OneLogin lib should do what you want. It will have your Java application act as a Service Provider and make authentication requests.
Spring SAML is another alternative and Lastpass has yet another alternative
You could also do SAML on a more low level using OpenSAML, but for a simple use-case the libs above will do the trick.
To get a feel for SAML I can hint for my book, A Guide to OpenSAML. It explains SAML and how to do user authentication using OpenSAML. Again I recommend the libs above, but the book can be good to get a understanding of SAML.
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
add a comment |
From what I can understand, The OneLogin lib should do what you want. It will have your Java application act as a Service Provider and make authentication requests.
Spring SAML is another alternative and Lastpass has yet another alternative
You could also do SAML on a more low level using OpenSAML, but for a simple use-case the libs above will do the trick.
To get a feel for SAML I can hint for my book, A Guide to OpenSAML. It explains SAML and how to do user authentication using OpenSAML. Again I recommend the libs above, but the book can be good to get a understanding of SAML.
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
add a comment |
From what I can understand, The OneLogin lib should do what you want. It will have your Java application act as a Service Provider and make authentication requests.
Spring SAML is another alternative and Lastpass has yet another alternative
You could also do SAML on a more low level using OpenSAML, but for a simple use-case the libs above will do the trick.
To get a feel for SAML I can hint for my book, A Guide to OpenSAML. It explains SAML and how to do user authentication using OpenSAML. Again I recommend the libs above, but the book can be good to get a understanding of SAML.
From what I can understand, The OneLogin lib should do what you want. It will have your Java application act as a Service Provider and make authentication requests.
Spring SAML is another alternative and Lastpass has yet another alternative
You could also do SAML on a more low level using OpenSAML, but for a simple use-case the libs above will do the trick.
To get a feel for SAML I can hint for my book, A Guide to OpenSAML. It explains SAML and how to do user authentication using OpenSAML. Again I recommend the libs above, but the book can be good to get a understanding of SAML.
answered Mar 7 at 23:17
Stefan RasmussonStefan Rasmusson
4,23931643
4,23931643
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
add a comment |
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
Nice answer. I like the sound of Spring since I have used it before. Do you have a link to a example with spring.
– Al Grant
Mar 7 at 23:23
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
No sorry, but it shouldn't be hard to find. Good luck! Please mark the answer as correct if you consider your question answered
– Stefan Rasmusson
Mar 7 at 23:58
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034633%2fjava-saml2-sso-client%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
In general, handling SAML message is different from implementing a SAMLv2 compliant service provider. If you have a web app, it might be worth looking at Spring Security SAML extension. IMHO it's the most complete SAMLv2 service provider implementation.
– Bernhard Thalmayr
Mar 7 at 12:23