issrg.saml.voms
Class VOMSSAMLURLHandler

java.lang.Object
  extended by issrg.pba.rbac.URLHandler
      extended by issrg.pba.rbac.SAMLURLHandler
          extended by issrg.saml.voms.VOMSSAMLURLHandler

public class VOMSSAMLURLHandler
extends SAMLURLHandler

Author:
Linying Su

Field Summary
 
Fields inherited from class issrg.pba.rbac.SAMLURLHandler
configFile
 
Fields inherited from class issrg.pba.rbac.URLHandler
defaultPort, FILE_PORT, FILE_PROTOCOL, HTTP_PORT, HTTP_PROTOCOL, HTTPS_PORT, HTTPS_PROTOCOL, VOMS_SAML_PROTOCOL
 
Constructor Summary
VOMSSAMLURLHandler(java.lang.String protocolIn, java.lang.String config)
          Creates a new instance of VOMSSAMLURLHandler
 
Method Summary
 AttributeRepository getRepository(java.lang.String url)
          This method returns an instance of a repository that would be able to retrieve attributes given the URL.
 
Methods inherited from class issrg.pba.rbac.SAMLURLHandler
getProtocol, initialise, update
 
Methods inherited from class issrg.pba.rbac.URLHandler
addProtocol, getDefaultPort, getEntry, getEntryByURL, getPrincipal, getPrincipalByURL, getProtocolName, getRepositoryByURL, getSubtree, getSubtreeByURL, getURLHandler, removeProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VOMSSAMLURLHandler

public VOMSSAMLURLHandler(java.lang.String protocolIn,
                          java.lang.String config)
                   throws BadURLException
Creates a new instance of VOMSSAMLURLHandler

Throws:
BadURLException
Method Detail

getRepository

public AttributeRepository getRepository(java.lang.String url)
                                  throws BadURLException
Description copied from class: URLHandler
This method returns an instance of a repository that would be able to retrieve attributes given the URL. Some Repositories may use only the host part of the URL to connect to the server, ignoring the path part.

In this version of the URLHandler, no HTTP/HTTPS repositories are implemented, so null is returned for such URLs.

Overrides:
getRepository in class URLHandler
Parameters:
url - - the URL of the repository
Returns:
the AttributeRepository
Throws:
BadURLException