issrg.pba.rbac.x509
Class IssuerEntry
java.lang.Object
issrg.pba.repository.UserEntry
issrg.pba.rbac.x509.IssuerEntry
- All Implemented Interfaces:
- LDAPEntry, Entry, TokenLocator
public class IssuerEntry
- extends UserEntry
This class represents the entry of the issuer of the authorisation token. It
is used in the delegation policy when deciding what credentials the issuer
has got.
It is aware of the authorisation token format, so it knows where to find
the issuer information.
- Version:
- 1.0
- Author:
- A Otenko
Constructor Summary |
protected |
IssuerEntry()
|
|
IssuerEntry(AttributeCertificate ac)
This constructor can build an object out of the AttributeCertificate object
- a ready to use object. |
|
IssuerEntry(java.lang.Object ac)
This constructor builds an object using the retrieved Authorisation Token. |
Method Summary |
protected void |
_init_(AttributeCertificate ac)
This method is used for proper initialising the object by all the
constructors. |
Methods inherited from class issrg.pba.repository.UserEntry |
_init_, equals, getAlternativeLocator, getDN, getEntry, getEntryName, getIssuerDN, getLocator, getRepository, getSerialNumber, getSubjectDN, isObjectClass, issuerSerialToDN |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssuerEntry
protected IssuerEntry()
IssuerEntry
public IssuerEntry(java.lang.Object ac)
- This constructor builds an object using the retrieved Authorisation Token.
It should be the byte array of a BER-encoded X.509 Attribute Certificate.
- Parameters:
ac
- is the byte array representing the X.509 AC, of which the Issuer
will be represented by this object
- Throws:
java.lang.IllegalArgumentException
- if it is not a byte array, or is not a
proper X.509 AC
IssuerEntry
public IssuerEntry(AttributeCertificate ac)
- This constructor can build an object out of the AttributeCertificate object
- a ready to use object. Note that usually the caller will need the
constructor with the Object passed to it.
- Parameters:
ac
- is the AttributeCertificate of which the Issuer will be
represented by this object- See Also:
IssuerEntry(Object)
_init_
protected void _init_(AttributeCertificate ac)
- This method is used for proper initialising the object by all the
constructors. It actually does the work described for the
IssuerEntry(AttributeCertificate ac)
constructor.
- Parameters:
ac
- is the AttributeCertificate object with which the IssuerEntry is
initialised- See Also:
IssuerEntry(issrg.ac.AttributeCertificate)