An example configuring new J2C authentication data entries follows:
Using Jacl:
set security [$AdminConfig getid /Security:mysecurity/]
Using Jacl:
$AdminConfig required JAASAuthData
An example of this output follows:
Attribute Type alias String userId String password String
Using Jacl:
set alias [list alias myAlias] set userid [list userId myid] set password [list password secret] set jaasAttrs [list $alias $userid $password]
An example of this output follows:
{alias myAlias} {userId myid} {password secret}
Using Jacl:
$AdminConfig create JAASAuthData $security $jaasAttrs
An example of this output follows:
(cells/mycell/nodes/mynode:resources.xml#JAASAuthData_2)
Using Jacl:
$AdminConfig save