-
Notifications
You must be signed in to change notification settings - Fork 8
defined type jboss::securitydomain
Krzysztof Suszyński edited this page Oct 19, 2015
·
1 revision
This defined type can be used to add and remove JBoss security domains. A security domain consists of configurations for authentication, authorization, security mapping, and auditing. It implements Java Authentication and Authorization Service (JAAS) declarative security.
jboss::securitydomain { 'db-auth-default':
ensure => 'present',
code => 'Database',
codeflag => 'required',
moduleoptions => {
'dsJndiName' => 'java:jboss/datasources/default-db',
'principalsQuery' => 'select \'password\' from users u where u.login = ?',
'hashUserPassword' => false,
'hashStorePassword' => false,
'rolesQuery' => 'select r.name, \'Roles\' from users u
join user_roles ur on ur.user_id = u.id
join roles r on r.id = ur.role_id
where u.login = ?',
},
}
Parameters for jboss::securitydomain
:
This type uses JBoss module standard metaparameters
This is the namevar. The name/ID of security domain.
Standard Puppet ensure parameter with values: present
and absent
The code for JBoss security domain
The code flag for JBoss security domain
Options for given login module if form of a Puppet hash table