issrg.pba.rbac
Class SAMLURLHandler

java.lang.Object
  extended by issrg.pba.rbac.URLHandler
      extended by issrg.pba.rbac.SAMLURLHandler
Direct Known Subclasses:
VOMSSAMLURLHandler

public abstract class SAMLURLHandler
extends URLHandler

Author:
Linying Su

Field Summary
 java.lang.String 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
SAMLURLHandler(java.lang.String protocolIn, java.lang.String config)
          Creates a new instance of SAMLURLHandler
 
Method Summary
 java.lang.String getProtocol()
          This method returns the string name of the protocol (without the trailing colon).
 java.lang.String initialise(java.lang.String url, SAMLMetaInfo info, SAMLSecurity security)
           
 void update(java.util.Hashtable table, SAMLMetaInfo info, java.lang.String data)
          this method updates the SAMLMetaInfo object with a string, which includes parameters such as "password=secret;authn=3" all of the recognisable parameters are "password","keystorefile","keystoretype","pkcfile","keyfile","keytype","proxyfile","configfile", "authn","login","querytype","attributes","signassertion","signrequest"
 
Methods inherited from class issrg.pba.rbac.URLHandler
addProtocol, getDefaultPort, getEntry, getEntryByURL, getPrincipal, getPrincipalByURL, getProtocolName, getRepository, getRepositoryByURL, getSubtree, getSubtreeByURL, getURLHandler, removeProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configFile

public java.lang.String configFile
Constructor Detail

SAMLURLHandler

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

Throws:
BadURLException
Method Detail

initialise

public java.lang.String initialise(java.lang.String url,
                                   SAMLMetaInfo info,
                                   SAMLSecurity security)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getProtocol

public java.lang.String getProtocol()
Description copied from class: URLHandler
This method returns the string name of the protocol (without the trailing colon). The protocol is in lowercase letters.

Overrides:
getProtocol in class URLHandler
Returns:
string name of the protocol in lowercase characters

update

public void update(java.util.Hashtable table,
                   SAMLMetaInfo info,
                   java.lang.String data)
            throws java.lang.Exception
this method updates the SAMLMetaInfo object with a string, which includes parameters such as "password=secret;authn=3" all of the recognisable parameters are "password","keystorefile","keystoretype","pkcfile","keyfile","keytype","proxyfile","configfile", "authn","login","querytype","attributes","signassertion","signrequest"

Throws:
java.lang.Exception