public class org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration extends java.lang.Object
{
private static final java.time.Duration REQUEST_EXPIRATION;
private static final long REQUEST_MAXIMUM_CACHE_SIZE;
private final org.apache.nifi.util.NiFiProperties properties;
private final org.apache.nifi.web.security.jwt.provider.BearerTokenProvider bearerTokenProvider;
private final org.apache.nifi.web.security.logout.LogoutRequestManager logoutRequestManager;
private final org.apache.nifi.admin.service.IdpUserGroupService idpUserGroupService;
public void <init>(org.apache.nifi.util.NiFiProperties, org.apache.nifi.web.security.jwt.provider.BearerTokenProvider, org.apache.nifi.web.security.logout.LogoutRequestManager, org.apache.nifi.admin.service.IdpUserGroupService)
{
org.apache.nifi.web.security.jwt.provider.BearerTokenProvider v;
org.apache.nifi.util.NiFiProperties v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.apache.nifi.web.security.logout.LogoutRequestManager v;
org.apache.nifi.admin.service.IdpUserGroupService v;
java.lang.Object v, v, v, v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v := @parameter: org.apache.nifi.util.NiFiProperties;
v := @parameter: org.apache.nifi.web.security.jwt.provider.BearerTokenProvider;
v := @parameter: org.apache.nifi.web.security.logout.LogoutRequestManager;
v := @parameter: org.apache.nifi.admin.service.IdpUserGroupService;
specialinvoke v.<java.lang.Object: void <init>()>();
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "Properties required");
v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties> = v;
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "Bearer Token Provider required");
v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.jwt.provider.BearerTokenProvider bearerTokenProvider> = v;
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "Logout Request Manager required");
v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.logout.LogoutRequestManager logoutRequestManager> = v;
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "User Group Service required");
v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.admin.service.IdpUserGroupService idpUserGroupService> = v;
return;
}
public org.springframework.security.saml.provider.service.web.Saml2MetadataFilter saml2MetadataFilter()
{
org.springframework.security.saml.provider.service.metadata.Saml2MetadataResolver v;
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.springframework.security.saml.provider.service.web.Saml2MetadataFilter v;
org.apache.nifi.web.security.saml.SamlUrlPath v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
java.lang.String v;
org.springframework.security.web.util.matcher.AntPathRequestMatcher v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.Saml2MetadataFilter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.metadata.Saml2MetadataResolver saml2MetadataResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.Saml2MetadataFilter: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver,org.springframework.security.saml.provider.service.metadata.Saml2MetadataResolver)>(v, v);
v = new org.springframework.security.web.util.matcher.AntPathRequestMatcher;
v = <org.apache.nifi.web.security.saml.SamlUrlPath: org.apache.nifi.web.security.saml.SamlUrlPath METADATA>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.SamlUrlPath: java.lang.String getPath()>();
specialinvoke v.<org.springframework.security.web.util.matcher.AntPathRequestMatcher: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.springframework.security.saml.provider.service.web.Saml2MetadataFilter: void setRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)>(v);
return v;
}
public org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter saml2WebSsoAuthenticationRequestFilter()
{
org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter v;
org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.web.authentication.Saml2AuthenticationRequestResolver v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.Saml2AuthenticationRequestResolver saml2AuthenticationRequestResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter: void <init>(org.springframework.security.saml.provider.service.web.authentication.Saml2AuthenticationRequestResolver)>(v);
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository saml2AuthenticationRequestRepository()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter: void setAuthenticationRequestRepository(org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository)>(v);
return v;
}
public org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter saml2WebSsoAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager)
{
org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter v;
org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository v;
org.springframework.security.authentication.AuthenticationManager v;
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.apache.nifi.web.security.saml.SamlUrlPath v;
org.springframework.security.saml.provider.service.web.Saml2AuthenticationTokenConverter v;
org.springframework.security.web.authentication.session.NullAuthenticatedSessionStrategy v;
org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
java.lang.String v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v := @parameter: org.springframework.security.authentication.AuthenticationManager;
v = new org.springframework.security.saml.provider.service.web.Saml2AuthenticationTokenConverter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.Saml2AuthenticationTokenConverter: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver)>(v);
v = new org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter;
v = <org.apache.nifi.web.security.saml.SamlUrlPath: org.apache.nifi.web.security.saml.SamlUrlPath LOGIN_RESPONSE_REGISTRATION_ID>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.SamlUrlPath: java.lang.String getPath()>();
specialinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void <init>(org.springframework.security.web.authentication.AuthenticationConverter,java.lang.String)>(v, v);
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager)>(v);
v = specialinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler getAuthenticationSuccessHandler()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void setAuthenticationSuccessHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler)>(v);
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository saml2AuthenticationRequestRepository()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void setAuthenticationRequestRepository(org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository)>(v);
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void setAllowSessionCreation(boolean)>(0);
v = new org.springframework.security.web.authentication.session.NullAuthenticatedSessionStrategy;
specialinvoke v.<org.springframework.security.web.authentication.session.NullAuthenticatedSessionStrategy: void <init>()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter: void setSessionAuthenticationStrategy(org.springframework.security.web.authentication.session.SessionAuthenticationStrategy)>(v);
return v;
}
public org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutFilter saml2SingleLogoutFilter()
{
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutFilter v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.apache.nifi.web.security.logout.LogoutRequestManager v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutFilter;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.logout.LogoutRequestManager logoutRequestManager>;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler saml2SingleLogoutSuccessHandler()>();
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutFilter: void <init>(org.apache.nifi.web.security.logout.LogoutRequestManager,org.springframework.security.web.authentication.logout.LogoutSuccessHandler)>(v, v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestFilter saml2LogoutRequestFilter()
{
java.lang.Object[] v;
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.apache.nifi.web.security.saml.SamlUrlPath v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseResolver v;
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestFilter v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutRequestValidator v;
java.lang.String v;
org.springframework.security.web.util.matcher.AntPathRequestMatcher v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestFilter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutRequestValidator saml2LogoutRequestValidator()>();
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseResolver saml2LogoutResponseResolver()>();
v = newarray (org.springframework.security.web.authentication.logout.LogoutHandler)[1];
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler saml2SingleLogoutHandler()>();
v[0] = v;
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestFilter: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver,org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutRequestValidator,org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseResolver,org.springframework.security.web.authentication.logout.LogoutHandler[])>(v, v, v, v);
v = new org.springframework.security.web.util.matcher.AntPathRequestMatcher;
v = <org.apache.nifi.web.security.saml.SamlUrlPath: org.apache.nifi.web.security.saml.SamlUrlPath SINGLE_LOGOUT_RESPONSE>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.SamlUrlPath: java.lang.String getPath()>();
specialinvoke v.<org.springframework.security.web.util.matcher.AntPathRequestMatcher: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestFilter: void setLogoutRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter saml2LogoutResponseFilter()
{
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.apache.nifi.web.security.saml.SamlUrlPath v;
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository v;
org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutResponseValidator v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
java.lang.String v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter v;
org.springframework.security.web.util.matcher.AntPathRequestMatcher v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutResponseValidator saml2LogoutResponseValidator()>();
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler saml2LogoutSuccessHandler()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver,org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutResponseValidator,org.springframework.security.web.authentication.logout.LogoutSuccessHandler)>(v, v, v);
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository saml2LogoutRequestRepository()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter: void setLogoutRequestRepository(org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository)>(v);
v = new org.springframework.security.web.util.matcher.AntPathRequestMatcher;
v = <org.apache.nifi.web.security.saml.SamlUrlPath: org.apache.nifi.web.security.saml.SamlUrlPath SINGLE_LOGOUT_RESPONSE>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.SamlUrlPath: java.lang.String getPath()>();
specialinvoke v.<org.springframework.security.web.util.matcher.AntPathRequestMatcher: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseFilter: void setLogoutRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)>(v);
return v;
}
public org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler saml2SingleLogoutHandler()
{
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler;
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.logout.Saml2SingleLogoutHandler: void <init>()>();
return v;
}
public org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LocalLogoutFilter saml2LocalLogoutFilter()
{
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler v;
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LocalLogoutFilter v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LocalLogoutFilter;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler saml2LogoutSuccessHandler()>();
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LocalLogoutFilter: void <init>(org.springframework.security.web.authentication.logout.LogoutSuccessHandler)>(v);
return v;
}
public org.springframework.security.saml.provider.service.authentication.OpenSamlAuthenticationProvider openSamlAuthenticationProvider()
{
org.apache.nifi.util.NiFiProperties v;
org.apache.nifi.web.security.saml.service.authentication.ResponseAuthenticationConverter v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.authentication.OpenSamlAuthenticationProvider v;
java.lang.String v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.authentication.OpenSamlAuthenticationProvider;
specialinvoke v.<org.springframework.security.saml.provider.service.authentication.OpenSamlAuthenticationProvider: void <init>()>();
v = new org.apache.nifi.web.security.saml.service.authentication.ResponseAuthenticationConverter;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: java.lang.String getSamlGroupAttributeName()>();
specialinvoke v.<org.apache.nifi.web.security.saml.service.authentication.ResponseAuthenticationConverter: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.springframework.security.saml.provider.service.authentication.OpenSamlAuthenticationProvider: void setResponseAuthenticationConverter(org.springframework.core.convert.converter.Converter)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.Saml2AuthenticationRequestResolver saml2AuthenticationRequestResolver()
{
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.springframework.security.saml.provider.service.web.authentication.OpenSaml3AuthenticationRequestResolver v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.OpenSaml3AuthenticationRequestResolver;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.OpenSaml3AuthenticationRequestResolver: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver)>(v);
return v;
}
public org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutRequestValidator saml2LogoutRequestValidator()
{
org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutRequestValidator v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutRequestValidator;
specialinvoke v.<org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutRequestValidator: void <init>()>();
return v;
}
public org.springframework.security.saml.provider.service.authentication.logout.Saml2LogoutResponseValidator saml2LogoutResponseValidator()
{
org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutResponseValidator v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutResponseValidator;
specialinvoke v.<org.springframework.security.saml.provider.service.authentication.logout.OpenSamlLogoutResponseValidator: void <init>()>();
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestResolver saml2LogoutRequestResolver()
{
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutRequestResolver v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutRequestResolver;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutRequestResolver: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutResponseResolver saml2LogoutResponseResolver()
{
org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutResponseResolver v;
org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutResponseResolver;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.OpenSaml3LogoutResponseResolver: void <init>(org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.Saml2AuthenticationRequestRepository saml2AuthenticationRequestRepository()
{
com.github.benmanes.caffeine.cache.Caffeine v, v, v;
org.apache.nifi.web.security.saml.service.web.StandardSaml2AuthenticationRequestRepository v;
com.github.benmanes.caffeine.cache.Cache v;
java.time.Duration v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.cache.caffeine.CaffeineCache v;
java.lang.Class v;
java.lang.String v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = staticinvoke <com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine newBuilder()>();
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine maximumSize(long)>(1000L);
v = <org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: java.time.Duration REQUEST_EXPIRATION>;
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine expireAfterWrite(java.time.Duration)>(v);
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Cache build()>();
v = new org.springframework.cache.caffeine.CaffeineCache;
v = class "Lorg/springframework/security/saml2/provider/service/web/Saml2AuthenticationRequestRepository;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
specialinvoke v.<org.springframework.cache.caffeine.CaffeineCache: void <init>(java.lang.String,com.github.benmanes.caffeine.cache.Cache)>(v, v);
v = new org.apache.nifi.web.security.saml.service.web.StandardSaml2AuthenticationRequestRepository;
specialinvoke v.<org.apache.nifi.web.security.saml.service.web.StandardSaml2AuthenticationRequestRepository: void <init>(org.springframework.cache.Cache)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.RelyingPartyRegistrationResolver relyingPartyRegistrationResolver()
{
java.util.List v;
org.apache.nifi.util.NiFiProperties v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository v;
org.apache.nifi.web.security.saml.service.web.StandardRelyingPartyRegistrationResolver v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.apache.nifi.web.security.saml.service.web.StandardRelyingPartyRegistrationResolver;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository relyingPartyRegistrationRepository()>();
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: java.util.List getAllowedContextPathsAsList()>();
specialinvoke v.<org.apache.nifi.web.security.saml.service.web.StandardRelyingPartyRegistrationResolver: void <init>(org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository,java.util.List)>(v, v);
return v;
}
public org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository relyingPartyRegistrationRepository()
{
org.apache.nifi.web.security.saml.registration.StandardRelyingPartyRegistrationRepository v;
org.apache.nifi.util.NiFiProperties v, v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
java.lang.Object v;
boolean v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: boolean isSamlEnabled()>();
if v == 0 goto label;
v = new org.apache.nifi.web.security.saml.registration.StandardRelyingPartyRegistrationRepository;
v = v;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
specialinvoke v.<org.apache.nifi.web.security.saml.registration.StandardRelyingPartyRegistrationRepository: void <init>(org.apache.nifi.util.NiFiProperties)>(v);
goto label;
label:
v = specialinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository getDisabledRelyingPartyRegistrationRepository()>();
label:
return v;
}
public org.springframework.security.saml.provider.service.metadata.Saml2MetadataResolver saml2MetadataResolver()
{
org.apache.nifi.util.NiFiProperties v, v;
org.springframework.security.saml.provider.service.metadata.OpenSamlMetadataResolver v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.apache.nifi.web.security.saml.registration.EntityDescriptorCustomizer v;
boolean v, v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.metadata.OpenSamlMetadataResolver;
specialinvoke v.<org.springframework.security.saml.provider.service.metadata.OpenSamlMetadataResolver: void <init>()>();
v = new org.apache.nifi.web.security.saml.registration.EntityDescriptorCustomizer;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: boolean isSamlWantAssertionsSigned()>();
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: boolean isSamlRequestSigningEnabled()>();
specialinvoke v.<org.apache.nifi.web.security.saml.registration.EntityDescriptorCustomizer: void <init>(boolean,boolean)>(v, v);
virtualinvoke v.<org.springframework.security.saml.provider.service.metadata.OpenSamlMetadataResolver: void setEntityDescriptorCustomizer(java.util.function.Consumer)>(v);
return v;
}
public org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler saml2LogoutSuccessHandler()
{
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.apache.nifi.web.security.logout.LogoutRequestManager v;
org.apache.nifi.admin.service.IdpUserGroupService v;
org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.logout.LogoutRequestManager logoutRequestManager>;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.admin.service.IdpUserGroupService idpUserGroupService>;
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.logout.Saml2LogoutSuccessHandler: void <init>(org.apache.nifi.web.security.logout.LogoutRequestManager,org.apache.nifi.admin.service.IdpUserGroupService)>(v, v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler saml2SingleLogoutSuccessHandler()
{
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository v;
org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestResolver v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = new org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler;
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestResolver saml2LogoutRequestResolver()>();
specialinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler: void <init>(org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestResolver)>(v);
v = virtualinvoke v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository saml2LogoutRequestRepository()>();
virtualinvoke v.<org.springframework.security.saml.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler: void setLogoutRequestRepository(org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository)>(v);
return v;
}
public org.springframework.security.saml.provider.service.web.authentication.logout.Saml2LogoutRequestRepository saml2LogoutRequestRepository()
{
com.github.benmanes.caffeine.cache.Caffeine v, v, v;
com.github.benmanes.caffeine.cache.Cache v;
java.time.Duration v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.springframework.cache.caffeine.CaffeineCache v;
java.lang.Class v;
java.lang.String v;
org.apache.nifi.web.security.saml.web.authentication.logout.StandardSaml2LogoutRequestRepository v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = staticinvoke <com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine newBuilder()>();
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine maximumSize(long)>(1000L);
v = <org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: java.time.Duration REQUEST_EXPIRATION>;
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Caffeine expireAfterWrite(java.time.Duration)>(v);
v = virtualinvoke v.<com.github.benmanes.caffeine.cache.Caffeine: com.github.benmanes.caffeine.cache.Cache build()>();
v = new org.springframework.cache.caffeine.CaffeineCache;
v = class "Lorg/springframework/security/saml2/provider/service/web/authentication/logout/Saml2LogoutRequestRepository;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
specialinvoke v.<org.springframework.cache.caffeine.CaffeineCache: void <init>(java.lang.String,com.github.benmanes.caffeine.cache.Cache)>(v, v);
v = new org.apache.nifi.web.security.saml.web.authentication.logout.StandardSaml2LogoutRequestRepository;
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.logout.StandardSaml2LogoutRequestRepository: void <init>(org.springframework.cache.Cache)>(v);
return v;
}
private org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler getAuthenticationSuccessHandler()
{
org.apache.nifi.web.security.jwt.provider.BearerTokenProvider v;
org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty v;
java.time.Duration v;
org.apache.nifi.admin.service.IdpUserGroupService v;
java.lang.String v, v, v, v;
boolean v;
double v;
org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler v;
java.util.concurrent.TimeUnit v;
java.util.List v, v;
org.apache.nifi.util.NiFiProperties v, v, v, v, v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
org.apache.nifi.web.security.saml.web.authentication.identity.AttributeNameIdentityConverter v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: java.lang.String getSamlAuthenticationExpiration()>();
v = <java.util.concurrent.TimeUnit: java.util.concurrent.TimeUnit MILLISECONDS>;
v = staticinvoke <org.apache.nifi.util.FormatUtils: double getPreciseTimeDuration(java.lang.String,java.util.concurrent.TimeUnit)>(v, v);
v = staticinvoke <java.time.Duration: java.time.Duration ofMillis(long)>(v);
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: java.lang.String getSamlServiceProviderEntityId()>();
if v != null goto label;
v = <org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty REGISTRATION_ID>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: java.lang.String getProperty()>();
goto label;
label:
v = v;
label:
v = new org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.web.security.jwt.provider.BearerTokenProvider bearerTokenProvider>;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.admin.service.IdpUserGroupService idpUserGroupService>;
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = staticinvoke <org.apache.nifi.authorization.util.IdentityMappingUtil: java.util.List getIdentityMappings(org.apache.nifi.util.NiFiProperties)>(v);
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = staticinvoke <org.apache.nifi.authorization.util.IdentityMappingUtil: java.util.List getGroupMappings(org.apache.nifi.util.NiFiProperties)>(v);
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler: void <init>(org.apache.nifi.web.security.jwt.provider.BearerTokenProvider,org.apache.nifi.admin.service.IdpUserGroupService,java.util.List,java.util.List,java.time.Duration,java.lang.String)>(v, v, v, v, v, v);
v = v.<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: org.apache.nifi.util.NiFiProperties properties>;
v = virtualinvoke v.<org.apache.nifi.util.NiFiProperties: java.lang.String getSamlIdentityAttributeName()>();
v = staticinvoke <org.apache.nifi.util.StringUtils: boolean isNotBlank(java.lang.String)>(v);
if v == 0 goto label;
v = new org.apache.nifi.web.security.saml.web.authentication.identity.AttributeNameIdentityConverter;
specialinvoke v.<org.apache.nifi.web.security.saml.web.authentication.identity.AttributeNameIdentityConverter: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.apache.nifi.web.security.saml.web.authentication.Saml2AuthenticationSuccessHandler: void setIdentityConverter(org.springframework.core.convert.converter.Converter)>(v);
label:
return v;
}
private org.springframework.security.saml.provider.service.registration.RelyingPartyRegistrationRepository getDisabledRelyingPartyRegistrationRepository()
{
org.springframework.security.saml.provider.service.registration.InMemoryRelyingPartyRegistrationRepository v;
org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty v, v;
org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration v;
java.util.function.Consumer v;
org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder v, v, v;
org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration v;
java.lang.String v, v;
org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration[] v;
v := @this: org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration;
v = <org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty REGISTRATION_ID>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: java.lang.String getProperty()>();
v = staticinvoke <org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder withRegistrationId(java.lang.String)>(v);
v = <org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty REGISTRATION_ID>;
v = virtualinvoke v.<org.apache.nifi.web.security.saml.registration.Saml2RegistrationProperty: java.lang.String getProperty()>();
v = virtualinvoke v.<org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder entityId(java.lang.String)>(v);
v = staticinvoke <org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration$lambda_getDisabledRelyingPartyRegistrationRepository_0__7: java.util.function.Consumer bootstrap$()>();
v = virtualinvoke v.<org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder assertingPartyDetails(java.util.function.Consumer)>(v);
v = virtualinvoke v.<org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration$Builder: org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration build()>();
v = new org.springframework.security.saml.provider.service.registration.InMemoryRelyingPartyRegistrationRepository;
v = newarray (org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration)[1];
v[0] = v;
specialinvoke v.<org.springframework.security.saml.provider.service.registration.InMemoryRelyingPartyRegistrationRepository: void <init>(org.springframework.security.saml.provider.service.registration.RelyingPartyRegistration[])>(v);
return v;
}
static void <clinit>()
{
java.time.Duration v;
v = staticinvoke <java.time.Duration: java.time.Duration ofSeconds(long)>(60L);
<org.apache.nifi.web.security.configuration.SamlAuthenticationSecurityConfiguration: java.time.Duration REQUEST_EXPIRATION> = v;
return;
}
}