Java Doc for BasicAuthenticationManager.java in  » Source-Control » tmatesoft-SVN » org » tmatesoft » svn » core » auth » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » tmatesoft SVN » org.tmatesoft.svn.core.auth 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.tmatesoft.svn.core.auth.BasicAuthenticationManager

BasicAuthenticationManager
public class BasicAuthenticationManager implements ISVNAuthenticationManager,ISVNProxyManager(Code)
The BasicAuthenticationManager is a simple implementation of ISVNAuthenticationManager for storing and providing credentials without using auth providers. A basic manager simply keeps the user credentials provided. Also this manager may store a single proxy server options context (for HHTP requests to go through a particular proxy server).

This manager does not use authentication providers (ISVNAuthenticationProvider) but only those credentials that was supplied to its constructor. Also this manager never caches credentials.

This manager is not used in SVNKit internals. You may use a default manager (how to get it read javadoc for ISVNAuthenticationManager ), this basic manager or implement your own one.
version:
   1.1.1
author:
   TMate Software Ltd.
See Also:   ISVNAuthenticationProvider




Constructor Summary
public  BasicAuthenticationManager(String userName, String password)
     Creates an auth manager given a user credential - a username and password.
public  BasicAuthenticationManager(String userName, File keyFile, String passphrase, int portNumber)
     Creates an auth manager given a user credential - a username and an ssh private key.
public  BasicAuthenticationManager(SVNAuthentication[] authentications)
     Creates an auth manager given user credentials to use.

Method Summary
public  voidacknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication)
     Does nothing.
public  voidacknowledgeProxyContext(boolean accepted, SVNErrorMessage errorMessage)
     Does nothing.
public  SVNAuthenticationgetFirstAuthentication(String kind, String realm, SVNURL url)
    
public  longgetHTTPTimeout(SVNRepository repository)
    
public  SVNAuthenticationgetNextAuthentication(String kind, String realm, SVNURL url)
    
public  StringgetProxyHost()
    
public  ISVNProxyManagergetProxyManager(SVNURL url)
     Returns itself as a proxy manager.
public  StringgetProxyPassword()
    
public  intgetProxyPort()
    
public  StringgetProxyUserName()
    
public  ISVNSSLManagergetSSLManager(SVNURL url)
     Returns null.
public  booleanisAuthenticationForced()
    
public  voidsetAuthenticationForced(boolean forced)
    
public  voidsetAuthenticationProvider(ISVNAuthenticationProvider provider)
     Does nothing.
public  voidsetAuthentications(SVNAuthentication[] authentications)
     Sets the given user credentials to this manager.
public  voidsetProxy(String proxyHost, int proxyPort, String proxyUserName, String proxyPassword)
     Sets a proxy server context to this manager.
public  voidsetRuntimeStorage(ISVNAuthenticationStorage storage)
     Does nothing.


Constructor Detail
BasicAuthenticationManager
public BasicAuthenticationManager(String userName, String password)(Code)
Creates an auth manager given a user credential - a username and password.
Parameters:
  userName - a username
Parameters:
  password - a password



BasicAuthenticationManager
public BasicAuthenticationManager(String userName, File keyFile, String passphrase, int portNumber)(Code)
Creates an auth manager given a user credential - a username and an ssh private key.
Parameters:
  userName - a username
Parameters:
  keyFile - a private key file
Parameters:
  passphrase - a password to the private key
Parameters:
  portNumber - a port number over which an ssh tunnel is established



BasicAuthenticationManager
public BasicAuthenticationManager(SVNAuthentication[] authentications)(Code)
Creates an auth manager given user credentials to use.
Parameters:
  authentications - user credentials




Method Detail
acknowledgeAuthentication
public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication)(Code)
Does nothing.
Parameters:
  accepted -
Parameters:
  kind -
Parameters:
  realm -
Parameters:
  errorMessage -
Parameters:
  authentication -



acknowledgeProxyContext
public void acknowledgeProxyContext(boolean accepted, SVNErrorMessage errorMessage)(Code)
Does nothing.
Parameters:
  accepted -
Parameters:
  errorMessage -



getFirstAuthentication
public SVNAuthentication getFirstAuthentication(String kind, String realm, SVNURL url) throws SVNException(Code)



getHTTPTimeout
public long getHTTPTimeout(SVNRepository repository)(Code)



getNextAuthentication
public SVNAuthentication getNextAuthentication(String kind, String realm, SVNURL url) throws SVNException(Code)



getProxyHost
public String getProxyHost()(Code)



getProxyManager
public ISVNProxyManager getProxyManager(SVNURL url) throws SVNException(Code)
Returns itself as a proxy manager.
Parameters:
  url - a repository location that will be accessed over the proxy server for which a manager is needed a proxy manager
throws:
  SVNException -



getProxyPassword
public String getProxyPassword()(Code)



getProxyPort
public int getProxyPort()(Code)



getProxyUserName
public String getProxyUserName()(Code)



getSSLManager
public ISVNSSLManager getSSLManager(SVNURL url) throws SVNException(Code)
Returns null.
Parameters:
  url - null
throws:
  SVNException -



isAuthenticationForced
public boolean isAuthenticationForced()(Code)



setAuthenticationForced
public void setAuthenticationForced(boolean forced)(Code)



setAuthenticationProvider
public void setAuthenticationProvider(ISVNAuthenticationProvider provider)(Code)
Does nothing.
Parameters:
  provider -



setAuthentications
public void setAuthentications(SVNAuthentication[] authentications)(Code)
Sets the given user credentials to this manager.
Parameters:
  authentications - user credentials



setProxy
public void setProxy(String proxyHost, int proxyPort, String proxyUserName, String proxyPassword)(Code)
Sets a proxy server context to this manager.
Parameters:
  proxyHost - a proxy server hostname
Parameters:
  proxyPort - a proxy server port
Parameters:
  proxyUserName - a username to supply to a proxy machine
Parameters:
  proxyPassword - a password to supply to a proxy machine



setRuntimeStorage
public void setRuntimeStorage(ISVNAuthenticationStorage storage)(Code)
Does nothing.
Parameters:
  storage -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.