axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change
on this file since eea2aa4 was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | package com.nailabs.abac.trust; |
---|
2 | |
---|
3 | import com.nailabs.abac.process.*; |
---|
4 | import edu.stanford.peer.rbtm.credential.*; |
---|
5 | import java.util.*; |
---|
6 | |
---|
7 | /** |
---|
8 | * An interface for representing either a trust target or linking goal. Both |
---|
9 | * subclasses contain a verifier and subject. Target expressions are extended |
---|
10 | * uniquely. |
---|
11 | */ |
---|
12 | public abstract class Goal implements java.io.Serializable { |
---|
13 | /** The verifier of this trust target */ |
---|
14 | protected Entity verifier; |
---|
15 | |
---|
16 | /** The subject expression of this trust target */ |
---|
17 | protected EntityExpression subject; |
---|
18 | |
---|
19 | /** accessor method for the subject of this trust target */ |
---|
20 | public EntityExpression getSubject() { return subject; } |
---|
21 | |
---|
22 | /** accessor method for the verifier of this target */ |
---|
23 | public Entity getVerifier() { return verifier; } |
---|
24 | |
---|
25 | /** processing state for a node repsenting this goal is added to a TTG */ |
---|
26 | public abstract ProcessingState getInitialProcessingState(NegotiationContext ctx); |
---|
27 | |
---|
28 | /** convert this goal into an XML formatted string */ |
---|
29 | public abstract String toXML(); |
---|
30 | |
---|
31 | /** a string representing the type of the goal */ |
---|
32 | public abstract String getType(); |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.