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
0
votes
1 answer

SAML LogoutRequest to xml representation

I form LogoutRequest like this I initialize NameID NameID nameId = buildSAMLObjectWithDefaultName(NameID.class); nameId.setFormat("urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"); nameId.setValue("xxxxxx"); String sessionIndex = "idxxxx"; …
lapots
  • 12,553
  • 32
  • 121
  • 242
0
votes
2 answers

Class Loader looking for wrong package class

I do have two application (say App1 & App2) on a tomcat server. Both are having ESAPI-2.0-rc5.jar in the C:\Tomcat7_0_29\webapps\AppX\WEB-INF\lib folder. The App2 is using opensaml-2.6.0.jar (inside the C:\Tomcat7_0_29\webapps\App2\WEB-INF\lib…
user2807714
  • 1
  • 1
  • 1
0
votes
2 answers

Create SAML 2.0 assertion by existing element in OpenSAML

I am trying to create an SAML 2.0 assertion with OpenSAML using an existing assertion element for a token renewal process. // Obtain the token Token tk = tkStorage.getToken(data.getTokenId()); OMElement assertionOMElement =…
malintha
  • 176
  • 3
  • 18
0
votes
0 answers

Spring-SAML Authentication Failed: HttpSession returned null object for SPRING_SECURITY_CONTEXT

I'm using spring-saml2-sample app to connect to a Shibboleth IDP. I finally managed to send the correct saml request to the IDP using http post, but after login I get back the following on the SP…
0
votes
2 answers

is it feasible to use Oracle as my test Identity Provider - SAML

I am using SAML2.0 Protocol and I want to be a Service provider at my side. I am using opensaml library to construct my provider. I am in need of a Identity Provider to test my set up. Can I use Oracle as my Test Identity Provider ? Is it free to…
mavis
  • 3,100
  • 3
  • 24
  • 32
0
votes
1 answer

Options to convert a Netty application to a SAML2.0 Service Provider Endpoint

I have an application using Netty 4.x framework that functions as some kind of server. The authentication must be federated, so now I need to convert it to a SAML2.0 Service Provider. I did some research, and my concern is that in order to use…
user3466814
  • 15
  • 1
  • 3
0
votes
1 answer

How the IdP know the name of the variable that contain the authnRequest

I implement an saml identity provider, The servise provider send an HTML from that containt the authnRequest in an hide input, that have a name for example SAMLRequest.
nouri
  • 23
  • 6
0
votes
1 answer

Marshilling an SAML response object

Hi im trying to marshal an SAMLResponse object & im getting the following error. any ideas ? java.lang.StringIndexOutOfBoundsException: String index out of range: -4 at java.lang.String.substring(Unknown Source) at…
0
votes
1 answer

Feasiblity of SAML

I have a scenario where I have four to five web based application, which needs to have a common centralized authentication system, in this case how feasible is the SAML based approach i.e each time user want to access any of these web application…
Phalguni Mukherjee
  • 623
  • 3
  • 11
  • 29
0
votes
1 answer

org.opensaml.xml.validation.ValidationException: Apache xmlsec IdResolver could not resolve the Element for id reference

I am trying to validate a SAML Assertion signature but getting the following error: org.opensaml.xml.validation.ValidationException: Apache xmlsec IdResolver could not resolve the Element for id reference: P_ZoIp8bCaGCKuf8Tqy1EckkF4_ at…
Narendra
  • 5,635
  • 10
  • 42
  • 54
0
votes
1 answer

IDP initiated SLO not working

I am using SAML based SSO for my application where IDP role is played by OpenAM. I have tested SP based SSO,SLO and IDP based SSO, all are working fine, but IDP based SLO is not working, when a user is logging out of IDP, I am getting a notification…
0
votes
0 answers

Error while reading SAML Response from Shibboleth IdP in java

I am trying to write a service provider in java. I am using Shibboleth IdP. I am able to send request to the IdP and when I am trying to read the response I am getting the error : java.lang.IndexOutOfBoundsException: Index: 0 at…
Rohit Pandey
  • 119
  • 4
  • 15
0
votes
1 answer

SOAPFaultException while trying to get SAML2 token

While trying to run the code bellow to gain a SAML token (taken from VMWare samples to authenticate with SSO server) I got the following exception. From some reason the request version 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' and…
Uri Lukach
  • 1,093
  • 1
  • 14
  • 28
0
votes
0 answers

SAML wrong attribute mapping

I was authenticating my Service with SAML based authentication and configured the attribute as follows: userid=uid name=cn And was fetching it back in the following…
Phalguni Mukherjee
  • 623
  • 3
  • 11
  • 29
0
votes
1 answer

Skip IDP authentication in SAML

I am creating a service provider which talks to third party IDP for authentication. But I have a concern that I have a set of dedicated machines(Desktop,tab) which are highly trusted, so is their a way in SAML that when a request is sent from such…
Phalguni Mukherjee
  • 623
  • 3
  • 11
  • 29