core/src/main/java/org/apache/commons/vfs2/util/UserAuthenticatorUtils.java
/**
     * if there is a authenticator the authentication will take place, else null will be reutrned.
     * @param opts The FileSystemOptions.
     * @param authenticatorTypes An array of types describing the data to be retrieved.
     * @return A UserAuthenticationData object containing the data requested.
     */
if there is a authenticator the authentication will take place, else null will be reutrned.
@param opts The FileSystemOptions.
@param authenticatorTypes An array of types describing the data to be retrieved.
@return A UserAuthenticationData object containing the data requested.
if there is a authenticator the authentication will take place else null will be reutrned . @param opts The FileSystemOptions . @param authenticatorTypes An array of types describing the data to be retrieved . @return A UserAuthenticationData object containing the data requested .
public static UserAuthenticationData authenticate(FileSystemOptions opts,
                                                      UserAuthenticationData.Type[] authenticatorTypes)
    {
        UserAuthenticator auth = DefaultFileSystemConfigBuilder.getInstance().getUserAuthenticator(opts);
        return authenticate(auth, authenticatorTypes);
    }
public static UserAuthenticationData authenticate ( FileSystemOptions opts , UserAuthenticationData . Type [ ] authenticatorTypes ) { UserAuthenticator auth = DefaultFileSystemConfigBuilder . getInstance ( ) . getUserAuthenticator ( opts ) ; return authenticate ( auth , authenticatorTypes ) ; }
if there is a authenticator the authentication will take place, else null will be reutrned.
if there is a authenticator the authentication will take place else null will be reutrned .