@Path(value="/")
public interface Idp
Modifier and Type | Field and Description |
---|---|
static String |
ACS_URL |
static String |
AUTH_METHOD |
static String |
COOKIE |
static String |
ECP_RELAY_STATE |
static String |
ECP_REQUEST_AUTHENTICATED |
static String |
ECP_RESPONSE |
static String |
GUEST |
static String |
HTTP_ARTIFACT_BINDING |
static String |
HTTP_POST_BINDING |
static String |
HTTP_REDIRECT_BINDING |
static String |
IDP_STATE_OBJ |
static String |
ORIGINAL_BINDING |
static String |
PAOS_BINDING |
static String |
PKI |
static String |
RELAY_STATE |
static String |
SAML |
static String |
SAML_REQ |
static String |
SAML_RESPONSE |
static String |
SAML_SOAP_BINDING |
static String |
SAML_TYPE |
static com.google.common.collect.ImmutableSet<SamlProtocol.Binding> |
SUPPORTED_BINDINGS |
static String |
USER_PASS |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
doSoapLogin(InputStream body,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
processLogin(String samlRequest,
String relayState,
String authMethod,
String signatureAlgorithm,
String signature,
String originalBinding,
javax.servlet.http.HttpServletRequest request)
Processes a login attempt from the IdP login web app.
|
javax.ws.rs.core.Response |
processPostLogout(String samlRequest,
String samlResponse,
String relayState,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
processRedirectLogout(String samlRequest,
String samlResponse,
String relayState,
String signatureAlgorithm,
String signature,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
retrieveMetadata()
Returns the metadata associated with this IdP.
|
javax.ws.rs.core.Response |
showGetLogin(String samlRequest,
String relayState,
String signatureAlgorithm,
String signature,
javax.servlet.http.HttpServletRequest request)
Returns the IdP login form.
|
javax.ws.rs.core.Response |
showPostLogin(String samlRequest,
String relayState,
javax.servlet.http.HttpServletRequest request)
Returns the IdP login form.
|
static final String SAML_REQ
static final String RELAY_STATE
static final String AUTH_METHOD
static final String ACS_URL
static final String SAML_RESPONSE
static final String ECP_RESPONSE
static final String ECP_RELAY_STATE
static final String ECP_REQUEST_AUTHENTICATED
static final String IDP_STATE_OBJ
static final String SAML_TYPE
static final String PKI
static final String SAML
static final String GUEST
static final String USER_PASS
static final String HTTP_POST_BINDING
static final String SAML_SOAP_BINDING
static final String PAOS_BINDING
static final String HTTP_REDIRECT_BINDING
static final String HTTP_ARTIFACT_BINDING
static final String COOKIE
static final String ORIGINAL_BINDING
static final com.google.common.collect.ImmutableSet<SamlProtocol.Binding> SUPPORTED_BINDINGS
@POST @Path(value="/login") @Consumes(value={"text/xml","application/soap+xml"}) javax.ws.rs.core.Response doSoapLogin(InputStream body, @Context javax.servlet.http.HttpServletRequest request) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
@POST @Path(value="/login") javax.ws.rs.core.Response showPostLogin(@FormParam(value="SAMLRequest") String samlRequest, @FormParam(value="RelayState") String relayState, @Context javax.servlet.http.HttpServletRequest request) throws org.apache.wss4j.common.ext.WSSecurityException
samlRequest
- relayState
- request
- org.apache.wss4j.common.ext.WSSecurityException
@GET @Path(value="/login") javax.ws.rs.core.Response showGetLogin(@QueryParam(value="SAMLRequest") String samlRequest, @QueryParam(value="RelayState") String relayState, @QueryParam(value="SigAlg") String signatureAlgorithm, @QueryParam(value="Signature") String signature, @Context javax.servlet.http.HttpServletRequest request) throws org.apache.wss4j.common.ext.WSSecurityException
samlRequest
- relayState
- signatureAlgorithm
- signature
- request
- org.apache.wss4j.common.ext.WSSecurityException
@GET @Path(value="/login/sso") javax.ws.rs.core.Response processLogin(@QueryParam(value="SAMLRequest") String samlRequest, @QueryParam(value="RelayState") String relayState, @QueryParam(value="AuthMethod") String authMethod, @QueryParam(value="SigAlg") String signatureAlgorithm, @QueryParam(value="Signature") String signature, @QueryParam(value="OriginalBinding") String originalBinding, @Context javax.servlet.http.HttpServletRequest request)
samlRequest
- relayState
- authMethod
- signatureAlgorithm
- signature
- request
- @GET @Path(value="/login/metadata") @Produces(value="application/xml") javax.ws.rs.core.Response retrieveMetadata() throws org.apache.wss4j.common.ext.WSSecurityException, CertificateEncodingException
org.apache.wss4j.common.ext.WSSecurityException
CertificateEncodingException
@GET @Path(value="/logout") javax.ws.rs.core.Response processRedirectLogout(@QueryParam(value="SAMLRequest") String samlRequest, @QueryParam(value="SAMLResponse") String samlResponse, @QueryParam(value="RelayState") String relayState, @QueryParam(value="SigAlg") String signatureAlgorithm, @QueryParam(value="Signature") String signature, @Context javax.servlet.http.HttpServletRequest request) throws org.apache.wss4j.common.ext.WSSecurityException, IdpException
org.apache.wss4j.common.ext.WSSecurityException
IdpException
@POST @Path(value="/logout") javax.ws.rs.core.Response processPostLogout(@FormParam(value="SAMLRequest") String samlRequest, @FormParam(value="SAMLResponse") String samlResponse, @FormParam(value="RelayState") String relayState, @Context javax.servlet.http.HttpServletRequest request) throws org.apache.wss4j.common.ext.WSSecurityException, IdpException
org.apache.wss4j.common.ext.WSSecurityException
IdpException
This work is licensed under a Creative Commons Attribution 4.0 International License.