Drools :: Eclipse :: Guvnor tools 6.1.0.CR2

org.guvnor.tools.utils.webdav
Class WebDavSessionAuthenticator

java.lang.Object
  extended by org.guvnor.tools.utils.webdav.WebDavSessionAuthenticator
All Implemented Interfaces:
IAuthenticator

public class WebDavSessionAuthenticator
extends Object
implements IAuthenticator

Authenticates based on in-memory credentials, and is limited to the VM session.


Constructor Summary
WebDavSessionAuthenticator()
           
 
Method Summary
 void addAuthenticationInfo(URL serverUrl, String realm, String scheme, Map info)
           
 void addProtectionSpace(URL resourceUrl, String realm)
           
 Map getAuthenticationInfo(URL serverUrl, String realm, String scheme)
           
 String getProtectionSpace(URL resourceUrl)
           
 Map requestAuthenticationInfo(URL resourceUrl, String realm, String scheme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDavSessionAuthenticator

public WebDavSessionAuthenticator()
Method Detail

addAuthenticationInfo

public void addAuthenticationInfo(URL serverUrl,
                                  String realm,
                                  String scheme,
                                  Map info)
Specified by:
addAuthenticationInfo in interface IAuthenticator

addProtectionSpace

public void addProtectionSpace(URL resourceUrl,
                               String realm)
Specified by:
addProtectionSpace in interface IAuthenticator

getAuthenticationInfo

public Map getAuthenticationInfo(URL serverUrl,
                                 String realm,
                                 String scheme)
Specified by:
getAuthenticationInfo in interface IAuthenticator

getProtectionSpace

public String getProtectionSpace(URL resourceUrl)
Specified by:
getProtectionSpace in interface IAuthenticator

requestAuthenticationInfo

public Map requestAuthenticationInfo(URL resourceUrl,
                                     String realm,
                                     String scheme)
Specified by:
requestAuthenticationInfo in interface IAuthenticator

Drools :: Eclipse :: Guvnor tools 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.