KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > formview > test > TestRolesPermissionAdapter


1 /*
2  * Created on 1 févr. 2006
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package net.sourceforge.formview.test;
8
9 import net.sourceforge.formview.permission.AbstractRolesPermissionsAdapter;
10
11 /**
12  * Description :
13  * Created on 1 févr. 2006
14  * @author azerr
15  */

16 public class TestRolesPermissionAdapter extends AbstractRolesPermissionsAdapter {
17     
18     /* (non-Javadoc)
19      * @see net.sourceforge.formview.permission.AbstractRolesPermissionsAdapter#hasRole(java.lang.String)
20      */

21     public boolean hasRole(String JavaDoc role) {
22         return (role.equalsIgnoreCase("FCT1"));
23     }
24
25 }
26
Popular Tags