Author: ggregory Date: Fri Sep 28 22:44:09 2012 New Revision: 1391684 URL: http://svn.apache.org/viewvc?rev=1391684&view=rev Log: [VFS-439] StaticUserAuthenticator usage example wrong.
Modified: commons/proper/vfs/trunk/src/changes/changes.xml commons/proper/vfs/trunk/src/site/xdoc/api.xml Modified: commons/proper/vfs/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1391684&r1=1391683&r2=1391684&view=diff ============================================================================== --- commons/proper/vfs/trunk/src/changes/changes.xml (original) +++ commons/proper/vfs/trunk/src/changes/changes.xml Fri Sep 28 22:44:09 2012 @@ -23,6 +23,9 @@ <body> <release version="2.1" date="TBD" description="New features and bug fix release."> + <action issue="VFS-439" dev="ggregory" type="fix" due-to="pensecit"> + StaticUserAuthenticator usage example wrong. + </action> <action issue="VFS-435" dev="ggregory" type="add" due-to="george scott"> FileSystemConfigBuilder does not use prefix for some system property lookups. </action> Modified: commons/proper/vfs/trunk/src/site/xdoc/api.xml URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/api.xml?rev=1391684&r1=1391683&r2=1391684&view=diff ============================================================================== --- commons/proper/vfs/trunk/src/site/xdoc/api.xml (original) +++ commons/proper/vfs/trunk/src/site/xdoc/api.xml Fri Sep 28 22:44:09 2012 @@ -117,7 +117,7 @@ for ( int i = 0; i < children.length; i+ <p> For example: <code> - StaticUserAuthenticator auth = new StaticUserAuthenticator("username", "password", null); + StaticUserAuthenticator auth = new StaticUserAuthenticator("domain", "username", "password"); FileSystemOptions opts = new FileSystemOptions(); DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth);