public class SAMLResource extends Object
| Constructor and Description |
|---|
SAMLResource(String spHost,
String idpMetadataLocation,
String privateKeyFileName,
String certificateFilename,
SamlResponseFactory samlResponseFactory,
SamlAuthRequestFactory samlAuthRequestFactory,
LocationResolver locationResolver,
CookieFactory cookieFactory,
boolean invalidateLocalSessionOnSamlError,
boolean tryRenewSessionOnLogout,
boolean bulkLogout) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
consumer(javax.ws.rs.core.HttpHeaders headers,
javax.servlet.http.HttpServletRequest httpServletRequest,
String samlResponseString,
String relayState) |
HomeView |
home(javax.servlet.http.HttpServletRequest httpServletRequest) |
UserInfo |
info(javax.servlet.http.HttpServletRequest httpServletRequest) |
com.fasterxml.jackson.databind.util.JSONPObject |
infoP(javax.servlet.http.HttpServletRequest httpServletRequest,
String callback) |
LoginView |
login() |
javax.ws.rs.core.Response |
logoutConsumer(javax.servlet.http.HttpServletRequest httpServletRequest,
String samlResponseString,
String relayState) |
javax.ws.rs.core.Response |
metadata() |
javax.ws.rs.core.Response |
sendLogoutRequest(javax.ws.rs.core.HttpHeaders headers,
javax.servlet.http.HttpServletRequest httpServletRequest,
String target) |
javax.ws.rs.core.Response |
sendRequest(String target) |
javax.ws.rs.core.Response |
simpleLogout(javax.servlet.http.HttpServletRequest httpServletRequest,
String target) |
public SAMLResource(String spHost, String idpMetadataLocation, String privateKeyFileName, String certificateFilename, SamlResponseFactory samlResponseFactory, SamlAuthRequestFactory samlAuthRequestFactory, LocationResolver locationResolver, CookieFactory cookieFactory, boolean invalidateLocalSessionOnSamlError, boolean tryRenewSessionOnLogout, boolean bulkLogout) throws IOException, org.opensaml.xml.ConfigurationException, org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.UnmarshallingException
IOExceptionorg.opensaml.xml.ConfigurationExceptionorg.opensaml.xml.parse.XMLParserExceptionorg.opensaml.xml.io.UnmarshallingExceptionpublic javax.ws.rs.core.Response simpleLogout(@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String target)
public javax.ws.rs.core.Response logoutConsumer(@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String samlResponseString,
String relayState)
throws UnsupportedEncodingException,
org.opensaml.xml.io.MarshallingException,
org.opensaml.xml.ConfigurationException
UnsupportedEncodingExceptionorg.opensaml.xml.io.MarshallingExceptionorg.opensaml.xml.ConfigurationExceptionpublic javax.ws.rs.core.Response consumer(@Context
javax.ws.rs.core.HttpHeaders headers,
@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String samlResponseString,
String relayState)
public javax.ws.rs.core.Response sendLogoutRequest(@Context
javax.ws.rs.core.HttpHeaders headers,
@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String target)
throws UnsupportedEncodingException,
org.opensaml.xml.io.MarshallingException,
org.opensaml.xml.ConfigurationException
UnsupportedEncodingExceptionorg.opensaml.xml.io.MarshallingExceptionorg.opensaml.xml.ConfigurationExceptionpublic javax.ws.rs.core.Response sendRequest(String target) throws URISyntaxException, org.opensaml.xml.io.MarshallingException, org.opensaml.xml.ConfigurationException, UnsupportedEncodingException
URISyntaxExceptionorg.opensaml.xml.io.MarshallingExceptionorg.opensaml.xml.ConfigurationExceptionUnsupportedEncodingExceptionpublic HomeView home(@Context javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception
Exceptionpublic com.fasterxml.jackson.databind.util.JSONPObject infoP(@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String callback)
public UserInfo info(@Context javax.servlet.http.HttpServletRequest httpServletRequest)
Copyright © 2017. All Rights Reserved.