01: package ru.emdev.EmForge.wiki.security;
02:
03: import java.security.CodeSource;
04: import java.security.PermissionCollection;
05: import java.security.Policy;
06:
07: /** Policy implementation to ling JAAS used in JspWiki and Acegy - used in EmForge
08: * @note I'm not 100% sure we realyl need it Currently it is containing some stub, empty implementation
09: */
10: public class PolicyImpl extends Policy {
11:
12: @Override
13: public PermissionCollection getPermissions(CodeSource arg0) {
14: // TODO Auto-generated method stub
15: return null;
16: }
17:
18: @Override
19: public void refresh() {
20: // TODO Auto-generated method stub
21:
22: }
23: }
|