public class SAMLSOAPReceiver
extends javax.servlet.http.HttpServlet
Subject
.
Its response which is an Assertion
is used by the caller to
enable an SSO solution or allow access to resource based on the
Statement
contained in the assertion sent by it.
It supports the following functions:
1- Accepts an artifact request and returns corresponding assertion. 2- Accepts assertion id request and returns corresponding assertion. 3- accept the authentication query and return authentication assertion. 4- Accept authorization query and return authorization decision assertion. 5- Accept attribute query and return attribute assertion.
Modifier and Type | Field and Description |
---|---|
static String |
localSAMLServiceID
When initialized it represents ID of the local server.
|
Constructor and Description |
---|
SAMLSOAPReceiver() |
Modifier and Type | Method and Description |
---|---|
protected static Set |
checkCaller(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Protected method to check the caller to the servlet.
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Processes request coming from SOAP.
|
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet.
|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static String localSAMLServiceID
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- ServletConfig
object.javax.servlet.ServletException
- if error occurred during initialization.public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
req
- HttpServletRequest
object.resp
- HttpServletResponse
object.javax.servlet.ServletException
- if there is an error.IOException
- if there is an error.protected static Set checkCaller(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException
javax.servlet.ServletException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.