@Test public void isValid_InvalidPrincipalIdGiven_ShouldNotBeValid() { GatewayRequest request = createRequestMock(1); assertFalse(createSecurityContextFactory(request).isValid()); }
@Override protected boolean isValid() { return getRawPrincipalIdSafe() instanceof String; }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isValid() { return getRawPrincipalIdSafe() instanceof String; } }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isValid() { return getRawPrincipalIdSafe() instanceof String; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request); }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isValid() { return getRawPrincipalIdSafe() instanceof String; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request);  }
CustomAuthorizerSecurityContextFactory extends AbstractSecurityContextFactory { @Override protected boolean isValid() { return getRawPrincipalIdSafe() instanceof String; } protected  CustomAuthorizerSecurityContextFactory(GatewayRequest request);   }