@Path(value="/samlsso") public class SamlSso extends Object
| Constructor and Description |
|---|
SamlSso() |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
createResponse(String requestID,
String racs,
String requestIssuer) |
protected String |
encodeResponse(Element response,
boolean redirect) |
protected org.opensaml.saml.saml2.core.AuthnRequest |
extractRequest(String samlRequest) |
javax.ws.rs.core.Response |
login(String samlRequest,
String relayState) |
javax.ws.rs.core.Response |
login(String samlRequest,
String relayState,
String binding) |
protected javax.ws.rs.core.Response |
postBindingResponse(String relayState,
String racs,
String responseStr) |
protected javax.ws.rs.core.Response |
redirectResponse(String relayState,
String racs,
String responseStr) |
void |
setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext mc) |
@POST
public javax.ws.rs.core.Response login(@FormParam(value="SAMLRequest")
String samlRequest,
@FormParam(value="RelayState")
String relayState)
throws Exception
Exception@GET
public javax.ws.rs.core.Response login(@QueryParam(value="SAMLRequest")
String samlRequest,
@QueryParam(value="RelayState")
String relayState,
@QueryParam(value="binding")
String binding)
throws Exception
Exception@Context public void setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext mc)
protected Element createResponse(String requestID, String racs, String requestIssuer) throws Exception
Exceptionprotected String encodeResponse(Element response, boolean redirect) throws IOException
IOExceptionprotected org.opensaml.saml.saml2.core.AuthnRequest extractRequest(String samlRequest) throws org.apache.cxf.common.util.Base64Exception, DataFormatException, XMLStreamException, UnsupportedEncodingException, org.apache.wss4j.common.ext.WSSecurityException
org.apache.cxf.common.util.Base64ExceptionDataFormatExceptionXMLStreamExceptionUnsupportedEncodingExceptionorg.apache.wss4j.common.ext.WSSecurityExceptionprotected javax.ws.rs.core.Response postBindingResponse(String relayState, String racs, String responseStr) throws IOException
IOExceptionApache Fediz