Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2014 JBoss Inc
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 package io.apiman.gateway.engine.policies.config;
 
Configuration object for the IP blacklist policy.

Author(s):
eric.wittmann@redhat.com
 
 public class BasicAuthenticationConfig {
 
     private String realm;
     private String forwardIdentityHttpHeader;
     private boolean requireTransportSecurity;
 
     private LDAPIdentitySource ldapIdentity;
     private JDBCIdentitySource jdbcIdentity;

    
Constructor.
 
     public BasicAuthenticationConfig() {
     }

    

Returns:
the staticIdentity
 
         return ;
     }

    

Parameters:
staticIdentity the staticIdentity to set
 
     public void setStaticIdentity(StaticIdentitySource staticIdentity) {
         this. = staticIdentity;
     }

    

Returns:
the realm
 
     public String getRealm() {
         return ;
     }

    

Parameters:
realm the realm to set
 
     public void setRealm(String realm) {
         this. = realm;
     }

    

Returns:
the forwardIdentityHttpHeader
 
     public String getForwardIdentityHttpHeader() {
         return ;
     }

    

Parameters:
forwardIdentityHttpHeader the forwardIdentityHttpHeader to set
 
     public void setForwardIdentityHttpHeader(String forwardIdentityHttpHeader) {
         this. = forwardIdentityHttpHeader;
     }

    

Returns:
the ldapIdentity
 
     public LDAPIdentitySource getLdapIdentity() {
         return ;
     }

    

Parameters:
ldapIdentity the ldapIdentity to set
 
     public void setLdapIdentity(LDAPIdentitySource ldapIdentity) {
         this. = ldapIdentity;
     }

    

Returns:
the jdbcIdentity
        return ;
    }

    

Parameters:
jdbcIdentity the jdbcIdentity to set
    public void setJdbcIdentity(JDBCIdentitySource jdbcIdentity) {
        this. = jdbcIdentity;
    }

    

Returns:
the requireTransportSecurity
    public boolean isRequireTransportSecurity() {
        return ;
    }

    

Parameters:
requireTransportSecurity the requireTransportSecurity to set
    public void setRequireTransportSecurity(boolean requireTransportSecurity) {
        this. = requireTransportSecurity;
    }
New to GrepCode? Check out our FAQ X