public class org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler extends java.lang.Object implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
{
private static final org.slf4j.Logger LOG;
private org.apache.cxf.fediz.spring.FederationConfig federationConfig;
public void <init>()
{
org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler v;
v := @this: org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public void setFederationConfig(org.apache.cxf.fediz.spring.FederationConfig)
{
org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler v;
org.apache.cxf.fediz.spring.FederationConfig v;
v := @this: org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler;
v := @parameter: org.apache.cxf.fediz.spring.FederationConfig;
v.<org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler: org.apache.cxf.fediz.spring.FederationConfig federationConfig> = v;
return;
}
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.springframework.security.core.Authentication) throws java.io.IOException, javax.servlet.ServletException
{
java.lang.Throwable v;
org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler v;
javax.servlet.http.HttpServletRequest v;
java.util.Map v;
org.apache.cxf.fediz.spring.FederationConfig v;
org.apache.cxf.fediz.core.processor.FedizProcessor v;
org.apache.cxf.fediz.core.processor.RedirectionResponse v;
java.lang.String v, v, v, v;
boolean v, v, v;
org.apache.cxf.fediz.core.config.FedizContext v;
org.slf4j.Logger v, v;
java.util.Iterator v;
javax.servlet.http.HttpServletResponse v;
java.util.Set v;
java.lang.Object v, v, v;
org.springframework.security.core.Authentication v;
org.apache.cxf.fediz.core.config.Protocol v;
v := @this: org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler;
v := @parameter: javax.servlet.http.HttpServletRequest;
v := @parameter: javax.servlet.http.HttpServletResponse;
v := @parameter: org.springframework.security.core.Authentication;
v = interfaceinvoke v.<javax.servlet.http.HttpServletRequest: java.lang.String getContextPath()>();
if v == null goto label;
v = virtualinvoke v.<java.lang.String: boolean isEmpty()>();
if v == 0 goto label;
label:
v = "/";
label:
v = v.<org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler: org.apache.cxf.fediz.spring.FederationConfig federationConfig>;
v = interfaceinvoke v.<org.apache.cxf.fediz.spring.FederationConfig: org.apache.cxf.fediz.core.config.FedizContext getFedizContext(java.lang.String)>(v);
label:
v = virtualinvoke v.<org.apache.cxf.fediz.core.config.FedizContext: org.apache.cxf.fediz.core.config.Protocol getProtocol()>();
v = staticinvoke <org.apache.cxf.fediz.core.processor.FedizProcessorFactory: org.apache.cxf.fediz.core.processor.FedizProcessor newFedizProcessor(org.apache.cxf.fediz.core.config.Protocol)>(v);
v = interfaceinvoke v.<org.apache.cxf.fediz.core.processor.FedizProcessor: org.apache.cxf.fediz.core.processor.RedirectionResponse createSignOutRequest(javax.servlet.http.HttpServletRequest,org.apache.wss4j.common.saml.SamlAssertionWrapper,org.apache.cxf.fediz.core.config.FedizContext)>(v, null, v);
v = virtualinvoke v.<org.apache.cxf.fediz.core.processor.RedirectionResponse: java.lang.String getRedirectionURL()>();
if v == null goto label;
v = virtualinvoke v.<org.apache.cxf.fediz.core.processor.RedirectionResponse: java.util.Map getHeaders()>();
v = interfaceinvoke v.<java.util.Map: boolean isEmpty()>();
if v != 0 goto label;
v = interfaceinvoke v.<java.util.Map: java.util.Set entrySet()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
interfaceinvoke v.<javax.servlet.http.HttpServletResponse: void addHeader(java.lang.String,java.lang.String)>(v, v);
goto label;
label:
interfaceinvoke v.<javax.servlet.http.HttpServletResponse: void sendRedirect(java.lang.String)>(v);
goto label;
label:
v = <org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void warn(java.lang.String)>("Failed to create SignOutRequest.");
interfaceinvoke v.<javax.servlet.http.HttpServletResponse: void sendError(int,java.lang.String)>(500, "Failed to create SignOutRequest.");
label:
goto label;
label:
v := @caughtexception;
v = <org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler: org.slf4j.Logger LOG>;
v = virtualinvoke v.<org.apache.cxf.fediz.core.exception.ProcessingException: java.lang.String getMessage()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Failed to create SignOutRequest: \u0001");
interfaceinvoke v.<org.slf4j.Logger: void warn(java.lang.String)>(v);
interfaceinvoke v.<javax.servlet.http.HttpServletResponse: void sendError(int,java.lang.String)>(500, "Failed to create SignOutRequest.");
label:
return;
catch org.apache.cxf.fediz.core.exception.ProcessingException from label to label with label;
}
static void <clinit>()
{
org.slf4j.Logger v;
v = staticinvoke <org.slf4j.LoggerFactory: org.slf4j.Logger getLogger(java.lang.Class)>(class "Lorg/apache/cxf/fediz/spring/web/FederationLogoutSuccessHandler;");
<org.apache.cxf.fediz.spring.web.FederationLogoutSuccessHandler: org.slf4j.Logger LOG> = v;
return;
}
}