1 package org.openmdx.security.realm1.cci; 14 15 public interface Policy 16 extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0 17 { 18 25 public String getDescription( 26 ); 27 28 32 33 38 public void setDescription( 39 String newValue 40 ); 41 42 50 public String getName( 51 ); 52 53 63 public org.openmdx.security.realm1.cci.Privilege getPrivilege( 64 String id 65 ); 66 67 76 public java.util.Collection getPrivilege( 77 ); 78 79 86 public java.util.List getPrivilege( 87 org.openmdx.security.realm1.cci.PrivilegeFilter filter 88 ); 89 90 98 public void addPrivilege ( 99 String id, 100 org.openmdx.security.realm1.cci.Privilege newValue 101 ); 102 103 110 public void addPrivilege ( 111 org.openmdx.security.realm1.cci.Privilege newValue 112 ); 113 114 120 public void removePrivilege ( 121 String id 122 ); 123 133 public org.openmdx.security.realm1.cci.Role getRole( 134 String name 135 ); 136 137 146 public java.util.Collection getRole( 147 ); 148 149 156 public java.util.List getRole( 157 org.openmdx.security.realm1.cci.RoleFilter filter 158 ); 159 160 168 public void addRole ( 169 String name, 170 org.openmdx.security.realm1.cci.Role newValue 171 ); 172 173 180 public void addRole ( 181 org.openmdx.security.realm1.cci.Role newValue 182 ); 183 184 190 public void removeRole ( 191 String name 192 ); 193 } 197 | Popular Tags |