Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-296

SubjectLocality is missing from AuthenticationStatementBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.6.2
    • WSS4J Core, WSS4J Handlers
    • Eclipse, Maven, Tomcat

    Description

      As per the saml2 core specification, Authentication Statement can have an optional SubjectLocality as defined in the saml xsd below:
      <complexType name="AuthnStatementType">
      <complexContent>
      <extension base="saml:StatementAbstractType">
      <sequence>
      <element ref="saml:SubjectLocality" minOccurs="0" />
      <element ref="saml:AuthnContext" />
      </sequence>
      <attribute name="AuthnInstant" type="dateTime" use="required" />
      <attribute name="SessionIndex" type="string" use="optional" />
      <attribute name="SessionNotOnOrAfter" type="dateTime" use="optional" />
      </extension>
      </complexContent>
      </complexType>
      But, AuthenticationStatementBean does not have the SubjectLocalityBean.
      Please find the attached SubjectLocalityBean, as well as the AuthenticationStatementBean updated with the SubjectLocalityBean.

      Example:
      <saml2:AuthnStatement AuthnInstant="2009-04-16T13:10:39.093Z">
      <saml2:SubjectLocality Address="11.01.124.22"
      DNSName="test"></saml2:SubjectLocality>
      <saml2:AuthnContext>
      <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509
      </saml2:AuthnContextClassRef>
      </saml2:AuthnContext>
      </saml2:AuthnStatement>

      Attachments

        1. AuthenticationStatementBean.java
          6 kB
          Srinivasa Kukatla
        2. Saml2ComponentBuilder.java
          28 kB
          Srinivasa Kukatla
        3. SubjectLocalityBean.java
          4 kB
          Srinivasa Kukatla

        Activity

          People

            coheigea Colm O hEigeartaigh
            skukatla Srinivasa Kukatla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: