Example DatabaseServerLoginModule
To clarify this notion, consider a database with two tables, Principals and Roles, as already declared. The following statements populate the tables with the following data: PrincipalIDjava with a Password of echoman in the Principals table PrincipalIDjava with a role named Echo in the RolesRoleGroup in the Roles table PrincipalIDjava with a role named caller_java in the CallerPrincipalRoleGroup in the Roles table INSERT INTO Principals VALUES('java', 'echoman') INSERT INTO Roles VALUES('java', 'Echo', 'Roles') INSERT INTO Roles VALUES('java', 'caller_java', 'CallerPrincipal')