InfoCenter Home >
5: Securing applications -- special topics >
5.2: Introduction to custom registries >
5.2.4: Custom-registry source code >
5.2.4.1: Source code for the FileRegistrySample application >
5.2.4.1.2: Properties files for FileRegistrySampleapplication
The users.props file
# Here is the format for the users.props file
# name:passwd:uid:gids:display name
# where name = userId/userName of the user
# passwd = password of the user
# uid = uniqueId of the user
# gid = groupIds of the groups that the user belongs to
# display name = a (optional) display name for the user.
bob:bob1:123:567:bob
dave:dave1:234:678:
jay:jay1:345:678,789:Jay-Jay
ted:ted1:456:678:Teddy G
jeff:jeff1:222:789:Jeff
vikas:vikas1:333:789:vikas
bobby:bobby1:444:789:
The groups.props file
# Here is the format for the groups.props file
# name:gid:users:display name
# where name = groupId of the group
# gid = uniqueId of the group
# users = list of all the userIds that the group contains
# display name = a (optional) display name for the group.
admins:567:bob:Administrative group
operators:678:jay,ted,dave:Operators group
users:789:jay,jeff,vikas,bobby:
|
|