Package org.openxri.saml

Examples of org.openxri.saml.Subject


    if (!oAssertion.isValid()) {
      return false;
    }

    // Subject must have correct info
    Subject oSubject = oAssertion.getSubject();
    if (oSubject == null) {
      return false;
    }

    NameID oNameID = oSubject.getNameID();
    if (oNameID == null) {
      return false;
    }

    if (!sSubsegment.equals(oNameID.getValue())) {
View Full Code Here


      String sResolved)
  {
    if (soLog.isDebugEnabled()) soLog.debug("createAssertion(" + sXMLID + "," + sParentID + "," + sResolved + ")");

    // create the SAMLSubject
    Subject oSubject = new Subject();
    NameID oName = new NameID(Tags.TAG_NAMEID);
    oName.setNameQualifier(sParentID);
    oName.setValue(sResolved);
    oSubject.setNameID(oName);

    // create the SAML Attribute Statement
    AttributeStatement oAttrStatement = new AttributeStatement();
    Attribute oAttr = new Attribute();
    oAttr.setValue("#" + sXMLID);
View Full Code Here

      String sResolved)
  {
    if (soLog.isDebugEnabled()) soLog.debug("createAssertion(" + sXMLID + "," + sParentID + "," + sResolved + ")");

    // create the SAMLSubject
    Subject oSubject = new Subject();
    NameID oName = new NameID(Tags.TAG_NAMEID);
    oName.setNameQualifier(sParentID);
    oName.setValue(sResolved);
    oSubject.setNameID(oName);

    // create the SAML Attribute Statement
    AttributeStatement oAttrStatement = new AttributeStatement();
    Attribute oAttr = new Attribute();
    oAttr.setValue("#" + sXMLID);
View Full Code Here

    if (!oAssertion.isValid()) {
      return false;
    }

    // Subject must have correct info
    Subject oSubject = oAssertion.getSubject();
    if (oSubject == null) {
      return false;
    }

    NameID oNameID = oSubject.getNameID();
    if (oNameID == null) {
      return false;
    }

    if (!sSubsegment.equals(oNameID.getValue())) {
View Full Code Here

            oXRID.addService(authSrv);

            String sParentID = "xyz";

            // create the SAMLSubject
            Subject oSubject = new Subject();
            NameID oName = new NameID(Tags.TAG_NAMEID);
            oName.setNameQualifier(sParentID);
            oName.setValue(".epok");
            oSubject.setNameID(oName);

            // create the SAML Attribute Statement
            AttributeStatement oAttrStatement = new AttributeStatement();
            Attribute oAttr = new Attribute();
            oAttr.setValue("#" + oXRID.getXmlID());
View Full Code Here

      String sResolved)
  {
    log.debug("createAssertion(" + sXMLID + "," + sParentID + "," + sResolved + ")");

    // create the SAMLSubject
    Subject oSubject = new Subject();
    NameID oName = new NameID(Tags.TAG_NAMEID);
    oName.setNameQualifier(sParentID);
    oName.setValue(sResolved);
    oSubject.setNameID(oName);

    // create the SAML Attribute Statement
    AttributeStatement oAttrStatement = new AttributeStatement();
    Attribute oAttr = new Attribute();
    oAttr.setValue("#" + sXMLID);
View Full Code Here

      String sResolved)
  {
    log.debug("createAssertion(" + sXMLID + "," + sParentID + "," + sResolved + ")");

    // create the SAMLSubject
    Subject oSubject = new Subject();
    NameID oName = new NameID(Tags.TAG_NAMEID);
    oName.setNameQualifier(sParentID);
    oName.setValue(sResolved);
    oSubject.setNameID(oName);

    // create the SAML Attribute Statement
    AttributeStatement oAttrStatement = new AttributeStatement();
    Attribute oAttr = new Attribute();
    oAttr.setValue("#" + sXMLID);
View Full Code Here

    if (!oAssertion.isValid()) {
      return false;
    }

    // Subject must have correct info
    Subject oSubject = oAssertion.getSubject();
    if (oSubject == null) {
      return false;
    }

    NameID oNameID = oSubject.getNameID();
    if (oNameID == null) {
      return false;
    }

    if (!sSubsegment.equals(oNameID.getValue())) {
View Full Code Here

      String sResolved)
  {
    log.debug("createAssertion(" + sXMLID + "," + sParentID + "," + sResolved + ")");

    // create the SAMLSubject
    Subject oSubject = new Subject();
    NameID oName = new NameID(Tags.TAG_NAMEID);
    oName.setNameQualifier(sParentID);
    oName.setValue(sResolved);
    oSubject.setNameID(oName);

    // create the SAML Attribute Statement
    AttributeStatement oAttrStatement = new AttributeStatement();
    Attribute oAttr = new Attribute();
    oAttr.setValue("#" + sXMLID);
View Full Code Here

    */
    private Assertion createAssertion(
        String sXMLID, String sParentID, String sResolved)
    {
        // create the SAMLSubject
        Subject oSubject = new Subject();
        NameID oName = new NameID(Tags.TAG_NAMEID);
        oName.setNameQualifier(sParentID);
        oName.setValue(sResolved);
        oSubject.setNameID(oName);

        // create the SAML Attribute Statement
        AttributeStatement oAttrStatement = new AttributeStatement();
        Attribute oAttr = new Attribute();
        oAttr.setValue("#" + sXMLID);
View Full Code Here

TOP

Related Classes of org.openxri.saml.Subject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.