## Shibboleth authentication deamon
########################################
##
## Allow your application domain to access
## config files from shibboleth
##
##
##
## The domain which should be enabled.
##
##
#
interface(`shibboleth_read_config',`
gen_require(`
type shibboleth_etc_t;
')
read_files_pattern($1, shibboleth_etc_t, shibboleth_etc_t)
')
########################################
##
## Allow the specified domain to connect to shibboleth with a unix socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`shibboleth_stream_connect',`
gen_require(`
type shibboleth_t;
type shibboleth_runtime_t;
')
stream_connect_pattern($1, shibboleth_runtime_t, shibboleth_runtime_t, shibboleth_t)
files_search_pids($1)
')