1 package com.sslexplorer.policyframework; 2 3 import java.util.Calendar ; 4 5 import com.sslexplorer.security.SessionInfo; 6 7 14 public interface Resource extends Comparable { 15 16 19 public final int MAX_RESOURCE_NAME_LENGTH = 32; 20 21 24 public int getResourceId(); 25 26 29 public ResourceType getResourceType(); 30 31 34 public String getResourceName(); 35 36 39 public String getResourceDisplayName(); 40 41 44 public String getResourceDescription(); 45 46 49 public void setResourceName(String name); 50 51 54 public void setResourceDescription(String description); 55 56 59 public Calendar getDateCreated(); 60 61 64 public Calendar getDateAmended(); 65 66 69 public void setDateAmended(Calendar date); 70 71 75 public boolean sessionPasswordRequired(SessionInfo sessionInfo); 76 77 80 public boolean paramsRequirePassword(); 81 82 85 public int getRealmID(); 86 } 87 | Popular Tags |