|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.repository.EntryLocator
public class EntryLocator
This class is the default implementation of the TokenLocator. The get* methods simply return the corresponding values passed to the constructor.
Field Summary | |
---|---|
protected TokenLocator |
a
|
protected AttributeRepository |
ar
|
protected Entry |
e
|
protected java.security.Principal |
p
|
Constructor Summary | |
---|---|
EntryLocator(Entry entry,
java.security.Principal locator,
AttributeRepository rep,
TokenLocator alternative)
This constructor builds a EntryLocator using the given Entry, Principal of the TokenLocator, the repository in which this token locator makes sense, and the alternative locator. |
Method Summary | |
---|---|
TokenLocator |
getAlternativeLocator()
This method returns the alternative repository-specific locator of the Authorisation Tokens. |
Entry |
getEntry()
This method returns the name of the entry the object locates. |
java.security.Principal |
getLocator()
This method returns the main repository-specific locator of the Authorisation Tokens. |
AttributeRepository |
getRepository()
This method returns the repository in which the Locator makes sense. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Entry e
protected java.security.Principal p
protected TokenLocator a
protected AttributeRepository ar
Constructor Detail |
---|
public EntryLocator(Entry entry, java.security.Principal locator, AttributeRepository rep, TokenLocator alternative)
entry
- - the Entry that this token locator refers to; used for Domain
matchinglocator
- - the Principal that helps find the tokens in the provided
repositoryrep
- - the AttributeRepository from which the Authorization Tokens
can
be retrieved; can be null to imply that the tokens are available from
a default locationalternative
- - the alternative TokenLocator, where additional
Authorization
Tokens can be found; can be nullMethod Detail |
---|
public Entry getEntry()
TokenLocator
getEntry
in interface TokenLocator
public java.security.Principal getLocator()
TokenLocator
getLocator
in interface TokenLocator
public AttributeRepository getRepository()
TokenLocator
getRepository
in interface TokenLocator
public TokenLocator getAlternativeLocator()
TokenLocator
getAlternativeLocator
in interface TokenLocator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |