@Test public void isApplicable_ValidPrincipalIdGiven_ShouldBeApplicable() { GatewayRequest request = createRequestMock("principalId"); assertTrue(createSecurityContextFactory(request).isApplicable()); }
@Override protected boolean isApplicable() { return getRawPrincipalIdSafe() != null; }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isApplicable() { return getRawPrincipalIdSafe() != null; } }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isApplicable() { return getRawPrincipalIdSafe() != null; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request); }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isApplicable() { return getRawPrincipalIdSafe() != null; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request);  }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isApplicable() { return getRawPrincipalIdSafe() != null; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request);   }