|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITicket
ITicket is intended to represent the interface for ticket
implementations.
Note: This interface is in flux and will change as soon as we review the sharp implementation.
Plugin point for physical ticket implementations.
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
ITicket |
extract(AuthToken issuer,
AuthToken holder,
int count,
Term term)
|
Term |
getTerm()
Returns the term of this ticket |
int |
getType()
Returns the resource type this ticket refers to |
int |
getUnits()
Returns the number of units granted by this ticket |
| Method Detail |
|---|
int getType()
throws java.lang.Exception
java.lang.Exception
int getUnits()
throws java.lang.Exception
java.lang.Exception
Term getTerm()
throws java.lang.Exception
java.lang.Exception
ITicket extract(AuthToken issuer,
AuthToken holder,
int count,
Term term)
throws java.lang.Exception
java.lang.Exceptionjava.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||