Examples of SamlNameId


Examples of org.jboss.seam.security.external.saml.api.SamlNameId

        LogoutRequestType logoutRequest = (LogoutRequestType) request;
        SamlExternalIdentityProvider idp = (SamlExternalIdentityProvider) samlDialogue.getExternalProvider();

        NameIDType nameIdJaxb = logoutRequest.getNameID();
        SamlNameId samlNameId = new SamlNameIdImpl(nameIdJaxb.getValue(), nameIdJaxb.getFormat(), nameIdJaxb.getNameQualifier());
        removeSessions(samlNameId, idp.getEntityId(), logoutRequest.getSessionIndex());

        StatusResponseType statusResponse = samlMessageFactory.createStatusResponse(SamlConstants.STATUS_SUCCESS, null);

        samlMessageSender.sendResponse(idp, statusResponse, SamlProfile.SINGLE_LOGOUT, httpResponse);
View Full Code Here

Examples of org.jboss.seam.security.external.saml.api.SamlNameId

        }

        LogoutRequestType logoutRequest = (LogoutRequestType) request;

        NameIDType nameIdJaxb = logoutRequest.getNameID();
        SamlNameId samlNameId = new SamlNameIdImpl(nameIdJaxb.getValue(), nameIdJaxb.getFormat(), nameIdJaxb.getNameQualifier());

        samlIdpIncomingLogoutDialogue.get().setNameId(samlNameId);
        samlIdpIncomingLogoutDialogue.get().setSessionIndexes(logoutRequest.getSessionIndex());

        removeNextSessionParticipant(httpResponse);
View Full Code Here

Examples of org.jboss.seam.security.external.saml.api.SamlNameId

        removeNextSessionParticipant(response);
    }

    private void removeNextSessionParticipant(HttpServletResponse response) {
        SamlNameId samlNameId = samlIdpIncomingLogoutDialogue.get().getNameId();
        List<String> sessionIndexes = samlIdpIncomingLogoutDialogue.get().getSessionIndexes();

        boolean readyForNow = false;

        while (!readyForNow) {
View Full Code Here

Examples of org.jboss.seam.security.external.saml.api.SamlNameId

      }

      LogoutRequestType logoutRequest = (LogoutRequestType) request;

      NameIDType nameIdJaxb = logoutRequest.getNameID();
      SamlNameId samlNameId = new SamlNameIdImpl(nameIdJaxb.getValue(), nameIdJaxb.getFormat(), nameIdJaxb.getNameQualifier());

      samlIdpIncomingLogoutDialogue.get().setNameId(samlNameId);
      samlIdpIncomingLogoutDialogue.get().setSessionIndexes(logoutRequest.getSessionIndex());

      removeNextSessionParticipant(httpResponse);
View Full Code Here

Examples of org.jboss.seam.security.external.saml.api.SamlNameId

      removeNextSessionParticipant(response);
   }

   private void removeNextSessionParticipant(HttpServletResponse response)
   {
      SamlNameId samlNameId = samlIdpIncomingLogoutDialogue.get().getNameId();
      List<String> sessionIndexes = samlIdpIncomingLogoutDialogue.get().getSessionIndexes();

      boolean readyForNow = false;

      while (!readyForNow)
View Full Code Here

Examples of org.jboss.seam.security.external.saml.api.SamlNameId

      LogoutRequestType logoutRequest = (LogoutRequestType) request;
      SamlExternalIdentityProvider idp = (SamlExternalIdentityProvider) samlDialogue.getExternalProvider();

      NameIDType nameIdJaxb = logoutRequest.getNameID();
      SamlNameId samlNameId = new SamlNameIdImpl(nameIdJaxb.getValue(), nameIdJaxb.getFormat(), nameIdJaxb.getNameQualifier());
      removeSessions(samlNameId, idp.getEntityId(), logoutRequest.getSessionIndex());

      StatusResponseType statusResponse = samlMessageFactory.createStatusResponse(SamlConstants.STATUS_SUCCESS, null);

      samlMessageSender.sendResponse(idp, statusResponse, SamlProfile.SINGLE_LOGOUT, httpResponse);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.