Package ddf.security.samlp
Interface LogoutMessage
public interface LogoutMessage
-
Method Summary
Modifier and TypeMethodDescriptionbuildLogoutRequest(String nameIdString, String issuerOrEntityId, List<String> sessionIndexes) buildLogoutResponse(String issuerOrEntityId, String statusCodeValue) buildLogoutResponse(String issuerOrEntityId, String statusCodeValue, String inResponseTo) buildLogoutResponse(String issuerOrEntityId, String topLevelStatusCode, String secondLevelStatusCode, String inResponseTo) extractSamlLogoutRequest(String samlLogoutRequest) extractSamlLogoutResponse(String samlLogoutResponse) extractXmlObject(String samlLogoutResponse) getElementFromSaml(LogoutWrapper xmlObject) sendSamlLogoutRequest(LogoutWrapper request, String targetUri, boolean isSoap, javax.servlet.http.Cookie cookie) signSamlGetRequest(LogoutWrapper samlObject, URI uriNameMeLater, String relayState) signSamlGetResponse(LogoutWrapper samlObject, URI uriNameMeLater, String relayState)
-
Method Details
-
extractXmlObject
LogoutWrapper extractXmlObject(String samlLogoutResponse) throws LogoutSecurityException, XMLStreamException -
extractSamlLogoutResponse
LogoutWrapper extractSamlLogoutResponse(String samlLogoutResponse) throws XMLStreamException, LogoutSecurityException -
extractSamlLogoutRequest
LogoutWrapper extractSamlLogoutRequest(String samlLogoutRequest) throws XMLStreamException, LogoutSecurityException -
buildLogoutRequest
LogoutWrapper buildLogoutRequest(String nameIdString, String issuerOrEntityId, List<String> sessionIndexes) -
buildLogoutResponse
-
buildLogoutResponse
LogoutWrapper buildLogoutResponse(String issuerOrEntityId, String statusCodeValue, String inResponseTo) -
buildLogoutResponse
LogoutWrapper buildLogoutResponse(String issuerOrEntityId, String topLevelStatusCode, String secondLevelStatusCode, String inResponseTo) -
getElementFromSaml
- Throws:
LogoutSecurityException
-
sendSamlLogoutRequest
String sendSamlLogoutRequest(LogoutWrapper request, String targetUri, boolean isSoap, @Nullable javax.servlet.http.Cookie cookie) throws IOException, LogoutSecurityException - Throws:
IOExceptionLogoutSecurityException
-
signSamlGetResponse
URI signSamlGetResponse(LogoutWrapper samlObject, URI uriNameMeLater, @Nullable String relayState) throws LogoutSecurityException, SignatureException, IOException -
signSamlGetRequest
URI signSamlGetRequest(LogoutWrapper samlObject, URI uriNameMeLater, @Nullable String relayState) throws LogoutSecurityException, SignatureException, IOException
-