source:
fedd/abac-src/rbtm/engine/DefaultSolutionFilter.java
@
8780cbec
Last change on this file since 8780cbec was 8780cbec, checked in by , 15 years ago | |
---|---|
|
|
File size: 469 bytes |
Line | |
---|---|
1 | package edu.stanford.peer.rbtm.engine; |
2 | |
3 | import edu.stanford.peer.rbtm.credential.*; |
4 | |
5 | public class DefaultSolutionFilter implements SolutionFilter, java.io.Serializable |
6 | { |
7 | public ForwardSolution getForwardSolution(EntityExpression re) { |
8 | if (re instanceof Role) { |
9 | return re; |
10 | } |
11 | return null; |
12 | } |
13 | |
14 | public BackwardSolution getBackwardSolution(EntityExpression re) { |
15 | if (re instanceof Entity) { |
16 | return re; |
17 | } |
18 | return null; |
19 | } |
20 | } |
21 | |
22 | |
23 | |
24 | |
25 | |
26 |
Note: See TracBrowser
for help on using the repository browser.