issrg.pba.rbac.x509
Class ACUserEntry

java.lang.Object
  extended by issrg.pba.repository.UserEntry
      extended by issrg.pba.rbac.x509.ACUserEntry
All Implemented Interfaces:
LDAPEntry, Entry, TokenLocator

public class ACUserEntry
extends UserEntry

Author:
rl59

Field Summary
 
Fields inherited from class issrg.pba.repository.UserEntry
alternativeDN, SN_ATTRIBUTE_TYPE
 
Constructor Summary
ACUserEntry(AttributeCertificate user)
          This constructor builds an object from the AttributeCertificate information.
ACUserEntry(java.lang.Object ac)
          This constructor builds an object assuming that the object is an encoding of an AC.
ACUserEntry(java.security.Principal subject)
          This constructor builds an object from the given Principal.
ACUserEntry(V2Form user)
          This constructor builds an object from the given V2Form object, containing all the necessary information about the user.
ACUserEntry(java.security.cert.X509Certificate cert)
          This constructor builds an object out of the data contained in the given X509 PKC.
 
Method Summary
protected  void _init_(AttributeCertificate user)
           
 
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
 

Constructor Detail

ACUserEntry

public ACUserEntry(java.security.Principal subject)
This constructor builds an object from the given Principal.


ACUserEntry

public ACUserEntry(java.lang.Object ac)
This constructor builds an object assuming that the object is an encoding of an AC.


ACUserEntry

public ACUserEntry(V2Form user)
This constructor builds an object from the given V2Form object, containing all the necessary information about the user.

Parameters:
user - is the V2Form object with the fields filled in as appropriate; the issuerName reference is treated as the subjectName, baseCertificateID field is used as the reference to the alternative entry

ACUserEntry

public ACUserEntry(AttributeCertificate user)
This constructor builds an object from the AttributeCertificate information. The holder field is used to retrieve all the necessary data.

Parameters:
user - is the valid X.509 AC

ACUserEntry

public ACUserEntry(java.security.cert.X509Certificate cert)
This constructor builds an object out of the data contained in the given X509 PKC.

Parameters:
cert - is the valid X509 certificate of the holder
Method Detail

_init_

protected void _init_(AttributeCertificate user)