The largest Interview Solution Library on the web


java tutorials/
« Previous | 1 | 2 | 3 | Next »

Sample JAAS Policy - Roles


  • "Roles" can be assigned to Subjects

  • Authorization performed based on "Role" assigned to subject

grant signedBy "mykey", codeBase "file:E:/Solutions/app/*"

principal com.eDMV.MethodRole "DMVSupervisor"

{

permission com.ebank.AccountAccess "CloseAccount";

};
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com