59 |
import java.util.LinkedList; |
import java.util.LinkedList; |
60 |
import java.util.Set; |
import java.util.Set; |
61 |
|
|
|
/** |
|
|
* |
|
|
*/ |
|
62 |
public final class Subject implements Serializable |
public final class Subject implements Serializable |
63 |
{ |
{ |
|
|
|
64 |
// Fields. |
// Fields. |
65 |
// ------------------------------------------------------------------------- |
// ------------------------------------------------------------------------- |
66 |
|
|
77 |
*/ |
*/ |
78 |
private boolean readOnly; |
private boolean readOnly; |
79 |
|
|
80 |
private transient final SecureSet pubCred; |
private final transient SecureSet pubCred; |
81 |
private transient final SecureSet privCred; |
private final transient SecureSet privCred; |
82 |
|
|
83 |
// Constructors. |
// Constructors. |
84 |
// ------------------------------------------------------------------------- |
// ------------------------------------------------------------------------- |
367 |
*/ |
*/ |
368 |
private static class SecureSet extends AbstractSet implements Serializable |
private static class SecureSet extends AbstractSet implements Serializable |
369 |
{ |
{ |
|
|
|
370 |
// Fields. |
// Fields. |
371 |
// ----------------------------------------------------------------------- |
// ----------------------------------------------------------------------- |
372 |
|
|
378 |
|
|
379 |
private final Subject subject; |
private final Subject subject; |
380 |
private final LinkedList elements; |
private final LinkedList elements; |
381 |
private transient final int type; |
private final transient int type; |
382 |
|
|
383 |
// Constructors. |
// Constructors. |
384 |
// ----------------------------------------------------------------------- |
// ----------------------------------------------------------------------- |