Changeset f63aa1b


Ignore:
Timestamp:
Mar 16, 2011 10:09:43 AM (8 years ago)
Author:
Ted Faber <faber@…>
Branches:
abac0-leak, abac0-mei, compt_changes, gec13, master, mei-id, mei-rt0-n, mei_rt0, mei_rt2, mei_rt2_fix_1, meiyap-rt1, meiyap1, rt2, tvf-new-xml
Children:
f0ae3d8
Parents:
3a52bed (diff), d4bcf94 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'native_java' of abac.deterlab.net:/var/local/git/abac into native_java

Location:
java/net/deterlab/abac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • java/net/deterlab/abac/Credential.java

    r88e139a rf63aa1b  
    371371        ZipOutputStream z = new ZipOutputStream(new FileOutputStream(f));
    372372        Set<Identity> ids = allIDs ?
    373             new TreeSet(s_ids) : new TreeSet<Identity>();
     373            new TreeSet<Identity>(s_ids) : new TreeSet<Identity>();
    374374
    375375        int n = 0;
  • java/net/deterlab/abac/CredentialGraph.java

    r88e139a rf63aa1b  
    3939
    4040    /**
     41     * Add a role to the graph./
     42     */
     43    public void add_vertex(Role role) {
     44        g.addVertex(role);
     45    }
     46
     47    /**
     48     * Remove a role from the grpah if it exists.
     49     */
     50    public void remove_vertex(Role role) {
     51        g.removeVertex(role);
     52    }
     53
     54    /**
     55     * Get a list of all roles known to the graph.
     56     */
     57    public Collection<Role> roles() {
     58        return g.getVertices();
     59    }
     60
     61    /**
    4162     * Add a credential to the graph.
    4263     */
Note: See TracChangeset for help on using the changeset viewer.