org.fcrepo.server.security
Interface BERoleConfig

All Known Implementing Classes:
AbstractRoleConfig, DefaultRoleConfig, MethodRoleConfig, ServiceDeploymentRoleConfig

public interface BERoleConfig

Configuration for a given backend service role.

Author:
Chris Wilper

Method Summary
 Boolean getCallbackBasicAuth()
          Get whether backend callbacks for this role require basic auth.
 Boolean getCallbackSSL()
          Get whether backend callbacks for this role require SSL.
 Boolean getCallBasicAuth()
          Get whether backend calls for this role will use basic auth.
 String getCallPassword()
          Get the basicauth password for backend calls for this role.
 Boolean getCallSSL()
          Get whether backend calls for this role will SSL.
 String getCallUsername()
          Get the basicauth username for backend calls for this role.
 Boolean getEffectiveCallbackBasicAuth()
           
 Boolean getEffectiveCallbackSSL()
           
 Boolean getEffectiveCallBasicAuth()
           
 String getEffectiveCallPassword()
           
 Boolean getEffectiveCallSSL()
           
 String getEffectiveCallUsername()
           
 String[] getEffectiveIPList()
           
 String[] getIPList()
          Get the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role.
 String getRole()
          Get the name of the role this configuration applies to.
 void setCallbackBasicAuth(Boolean value)
          Set whether backend callbacks for this role require basic auth.
 void setCallbackSSL(Boolean value)
          Set whether backend callbacks for this role require SSL.
 void setCallBasicAuth(Boolean value)
          Set whether backend calls for this role will use basic auth.
 void setCallPassword(String pass)
          Set the basicauth password for backend calls for this role.
 void setCallSSL(Boolean value)
          Set whether backend calls for this role will SSL.
 void setCallUsername(String user)
          Set the basicauth username for backend calls for this role.
 void setIPList(String[] ips)
          Set the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role.
 

Method Detail

getRole

String getRole()
Get the name of the role this configuration applies to.


getIPList

String[] getIPList()
Get the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means no restriction.


getEffectiveIPList

String[] getEffectiveIPList()

setIPList

void setIPList(String[] ips)
Set the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means no restriction.


getCallbackBasicAuth

Boolean getCallbackBasicAuth()
Get whether backend callbacks for this role require basic auth. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallbackBasicAuth

Boolean getEffectiveCallbackBasicAuth()

setCallbackBasicAuth

void setCallbackBasicAuth(Boolean value)
Set whether backend callbacks for this role require basic auth. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallbackSSL

Boolean getCallbackSSL()
Get whether backend callbacks for this role require SSL. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallbackSSL

Boolean getEffectiveCallbackSSL()

setCallbackSSL

void setCallbackSSL(Boolean value)
Set whether backend callbacks for this role require SSL. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallBasicAuth

Boolean getCallBasicAuth()
Get whether backend calls for this role will use basic auth. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallBasicAuth

Boolean getEffectiveCallBasicAuth()

setCallBasicAuth

void setCallBasicAuth(Boolean value)
Set whether backend calls for this role will use basic auth. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallSSL

Boolean getCallSSL()
Get whether backend calls for this role will SSL. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallSSL

Boolean getEffectiveCallSSL()

setCallSSL

void setCallSSL(Boolean value)
Set whether backend calls for this role will SSL. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallUsername

String getCallUsername()
Get the basicauth username for backend calls for this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getEffectiveCallUsername

String getEffectiveCallUsername()

setCallUsername

void setCallUsername(String user)
Set the basicauth username for backend calls for this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getCallPassword

String getCallPassword()
Get the basicauth password for backend calls for this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getEffectiveCallPassword

String getEffectiveCallPassword()

setCallPassword

void setCallPassword(String pass)
Set the basicauth password for backend calls for this role. For SDep/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.



Copyright © 2012 DuraSpace. All Rights Reserved.