Questions tagged [opensaml]

OpenSAML is a java and c++ library that provides low level handling of SAML messages

Reference for downloading the library and its general documentation: https://wiki.shibboleth.net/confluence/display/OpenSAML/Home

377 questions
76
votes
4 answers

What are the different NameID format used for?

In SAML metadata file there are several NameID format defined, for…
performanceuser
  • 2,793
  • 5
  • 34
  • 44
47
votes
7 answers

Android Error in Eclipse: "Unable to execute dex: Cannot merge new index 65799 into a non-jumbo instruction!"

I am trying an Android project using OpenSAML using Eclipse. I have added all the required jar files in the build path. Now, when I run the program as an Android Application the following error shows up: [2012-11-18 11:52:59 - Dex Loader] Unable to…
Ripul
  • 1,271
  • 4
  • 15
  • 18
41
votes
5 answers

What is the purpose of a SAML Artifact?

I've seen a bunch of flow chart on how it is passed around between Identity Provider (IdP), Service Provider (SP), and Browser via Redirects. However it seems unnecessary to me right now, so i know i'm missing something. Can someone provide me a…
funa68
  • 909
  • 3
  • 12
  • 21
18
votes
2 answers

how to migrate from opensaml 2.6 to 3.1.1

I have to migrate a class from opensaml 2.6 to opensaml 3.1.1 Compiling I obtain some errors 1) Element plaintextElement = getElementAssertion(inputBean); String xml = XMLHelper.prettyPrintXML(plaintextElement); I can't find the class XMLHelper in…
Raffaele Fabbri
  • 189
  • 1
  • 1
  • 5
12
votes
2 answers

Decrypting encrypted assertion using SAML 2.0 in java using OpenSAML

I have a problem while trying to decrypt encrypted assertion using SAML 2.0. The library I am using is OpenSAML Java libraries 2.5.2. The encrypted assertion looks like this:
thewalrusnp
  • 427
  • 1
  • 4
  • 15
12
votes
2 answers

How to read a private key for use with OpenSAML?

OK, this is another of those "I have no real idea where to start" questions, so hopefully the answer is simple. However, I don't really know what to search for, and my attempts so far haven't turned up much of use. I want to read a private key from…
user
  • 6,897
  • 8
  • 43
  • 79
12
votes
1 answer

How to use opensaml v3? There is little to no documentation and v2 is EOL

Is there an end to end example of using Open SAML library v3? I can't find any documentation and as per https://wiki.shibboleth.net/confluence/display/OpenSAML/Home the v2 is EOL. I'm using following code to get SAML assertion- private…
gauravphoenix
  • 2,814
  • 3
  • 25
  • 33
11
votes
3 answers

Consume SAMLResponse Token

SAML sp-based authentication has following short workflow. User wants to access application at sp. sp sends SAMLRequest token to idp. idp consume it and generate SAMLResponse token. idp sends this SAMLResponse token to AC-URL given by sp. My…
Muhammad Imran Tariq
  • 22,654
  • 47
  • 125
  • 190
11
votes
1 answer

SAML Client implementation for Android?

Is there a sample application which I can refer for SAML interactions on Android? Anyone successfully ported/used OpenSAML on Android ? I am trying to write a simple app which would (instead of browser redirection) use native APIs to carry out SAML…
VishJ
  • 238
  • 2
  • 3
  • 9
10
votes
2 answers

Difference between AssertionConsumerServiceURL , Destination , Consent in

I have been trying to generate SAML object using opensaml-java. Ref:slide #30 in https://www.oasis-open.org/committees/download.php/12958/SAMLV2.0-basics.pdf
mavis
  • 3,100
  • 3
  • 24
  • 32
10
votes
2 answers

HttpSession returned null object for SPRING_SECURITY_CONTEXT

I'm trying to integrate the Spring Saml library in a sample webapplication, using Shibboleth as IDP. I'm able to load the login page, to login and to show the index page. The problem is that when I click on other links the webapp redirect me to the…
Emanuele
  • 621
  • 1
  • 6
  • 10
9
votes
1 answer

OpenSAML bootstrap() nets me "InputStream cannot be null"

Deployment environment: Windows Server 2008, Tomcat 7.0.5, Oracle JRE 1.6. Development environment same plus Eclipse Helios. When I try to deploy my Java application which uses OpenSAML 2.3.1 and test it live, it doesn't want to run. Looking through…
user
  • 6,897
  • 8
  • 43
  • 79
9
votes
1 answer

Creating OpenSAML Assertion from given XML in Java

I have been beating my head against this for a while, and am starting to make progress. However, I ran into some trouble converting a string representation of a SAML 2 Assertion (in XML) to an Assertion object. It looks like I am getting a valid…
user
  • 6,897
  • 8
  • 43
  • 79
9
votes
2 answers

How do I talk to ADFS from Java?

We have a website running on Caucho Resin. It's written primarily in Java using JSP. We have our own custom authentication on the site. (We're not using any third party authentication frameworks.) We would now like to support federation using SAML.…
casolorz
  • 8,486
  • 19
  • 93
  • 200
9
votes
2 answers

Opensaml error receiving correct unmarshaller

I am running this code at opensaml2.6 Element metadataRoot = document.getDocumentElement(); // Unmarshall UnmarshallerFactory unmarshallerFactory = Configuration.getUnmarshallerFactory(); Unmarshaller unmarshaller =…
Pegerto
  • 614
  • 5
  • 18
1
2 3
25 26