Revision 477,
978 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe.scheduling; |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * |
---|
| 5 | * @author Marcin Krystek |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | public class TaskSecurityContext implements SecurityContext { |
---|
| 9 | |
---|
| 10 | protected String jobId; |
---|
| 11 | protected String taskId; |
---|
| 12 | protected String processesSetId; |
---|
| 13 | protected Object certificate; |
---|
| 14 | protected String currentUserDN; |
---|
| 15 | |
---|
| 16 | public String getUserIdentity() { |
---|
| 17 | return this.currentUserDN; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | public void setCurrentUserIdentity(String dn){ |
---|
| 21 | this.currentUserDN = dn; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | public String getJobId() { |
---|
| 25 | return jobId; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | public void setJobId(String jobId) { |
---|
| 29 | this.jobId = jobId; |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | public String getTaskId() { |
---|
| 33 | return taskId; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | public void setTaskId(String taskId) { |
---|
| 37 | this.taskId = taskId; |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | public String getProcessesSetId() { |
---|
| 41 | return processesSetId; |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | public void setProcessesSetId(String processesSetId) { |
---|
| 45 | this.processesSetId = processesSetId; |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | public Object getCertificate(){ |
---|
| 49 | return this.certificate; |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | public void setCertificate(Object cert){ |
---|
| 53 | this.certificate = cert; |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.