source: fedd/abac-src/rbtm/engine/DefaultSolutionFilter.java @ 8780cbec

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 8780cbec was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 469 bytes
Line 
1package edu.stanford.peer.rbtm.engine;
2
3import edu.stanford.peer.rbtm.credential.*;
4
5public 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.