All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.fedora.server.security.BERoleConfig Maven / Gradle / Ivy

/*
 * -----------------------------------------------------------------------------
 *
 * 

License and Copyright: The contents of this file are subject to 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.fedora-commons.org/licenses.

* *

Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific language governing rights and limitations under the License.

* *

The entire file consists of original code.

*

Copyright © 2008 Fedora Commons, Inc.
*

Copyright © 2002-2007 The Rector and Visitors of the University of * Virginia and Cornell University
* All rights reserved.

* * ----------------------------------------------------------------------------- */ package fedora.server.security; /** * Configuration for a given backend service role. * * @author [email protected] */ public interface BERoleConfig { /** * Get the name of the role this configuration applies to. */ public String getRole(); /** * Get the list of IP addresses that are allowed to make back-end * callbacks to Fedora using this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means no restriction. */ public String[] getIPList(); public String[] getEffectiveIPList(); /** * Set the list of IP addresses that are allowed to make back-end * callbacks to Fedora using this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means no restriction. */ public void setIPList(String[] ips); /** * Get whether backend callbacks for this role require basic auth. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public Boolean getCallbackBasicAuth(); public Boolean getEffectiveCallbackBasicAuth(); /** * Set whether backend callbacks for this role require basic auth. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public void setCallbackBasicAuth(Boolean value); /** * Get whether backend callbacks for this role require SSL. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public Boolean getCallbackSSL(); public Boolean getEffectiveCallbackSSL(); /** * Set whether backend callbacks for this role require SSL. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public void setCallbackSSL(Boolean value); /** * Get whether backend calls for this role will use basic auth. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public Boolean getCallBasicAuth(); public Boolean getEffectiveCallBasicAuth(); /** * Set whether backend calls for this role will use basic auth. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public void setCallBasicAuth(Boolean value); /** * Get whether backend calls for this role will SSL. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public Boolean getCallSSL(); public Boolean getEffectiveCallSSL(); /** * Set whether backend calls for this role will SSL. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means the effective value is false. */ public void setCallSSL(Boolean value); /** * Get the basicauth username for backend calls for this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means unspecified. */ public String getCallUsername(); public String getEffectiveCallUsername(); /** * Set the basicauth username for backend calls for this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means unspecified. */ public void setCallUsername(String user); /** * Get the basicauth password for backend calls for this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means unspecified. */ public String getCallPassword(); public String getEffectiveCallPassword(); /** * Set the basicauth password for backend calls for this role. * * For BMech/MethodRoleConfig, null means the effective value is inherited. * For DefaultRoleConfig, null means unspecified. */ public void setCallPassword(String pass); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy