issrg.pba.rbac
Class DNWithURLPrincipal

java.lang.Object
  extended by issrg.pba.rbac.LDAPDNPrincipal
      extended by issrg.pba.rbac.DNWithURLPrincipal
All Implemented Interfaces:
java.security.Principal

public class DNWithURLPrincipal
extends LDAPDNPrincipal

DeprecatedThis class was used to help identify a Principal in a specific repository. Use TokenLocator instead.

This class represents a DN accompanied with the URL of the repository that the DN relates to. It also optionally points to the specific authorisation token that belongs to the Principal by specifying its serial number.

See Also:
TokenLocator

Field Summary
 
Fields inherited from class issrg.pba.rbac.LDAPDNPrincipal
WHOLE_WORLD_DN
 
Constructor Summary
DNWithURLPrincipal(java.lang.String dn, java.lang.String ldapURL)
          This constructor builds a DNWithURLPrincipal given the DN and the URL of the repository that the DN relates to.
 
Method Summary
 java.lang.String getRepositoryURL()
           
 
Methods inherited from class issrg.pba.rbac.LDAPDNPrincipal
equals, getName, getParsedDN
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
hashCode, toString
 

Constructor Detail

DNWithURLPrincipal

public DNWithURLPrincipal(java.lang.String dn,
                          java.lang.String ldapURL)
                   throws RFC2253ParsingException,
                          BadURLException
This constructor builds a DNWithURLPrincipal given the DN and the URL of the repository that the DN relates to.

Throws:
RFC2253ParsingException
BadURLException
Method Detail

getRepositoryURL

public java.lang.String getRepositoryURL()