/** Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication( String url, SmbAuthException sae ) { if( auth == null ) { return null; } synchronized( auth ) { auth.url = url; auth.sae = sae; return auth.getNtlmPasswordAuthentication(); } } /**
/** Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication( String url, SmbAuthException sae ) { if( auth == null ) { return null; } synchronized( auth ) { auth.url = url; auth.sae = sae; return auth.getNtlmPasswordAuthentication(); } } /**
/** Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication( String url, SmbAuthException sae ) { if( auth == null ) { return null; } synchronized( auth ) { auth.url = url; auth.sae = sae; return auth.getNtlmPasswordAuthentication(); } } /**
/** Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication( String url, SmbAuthException sae ) { if( auth == null ) { return null; } synchronized( auth ) { auth.url = url; auth.sae = sae; return auth.getNtlmPasswordAuthentication(); } } /**
/** * @param a * @param url * @param sae * @return credentials returned by prompt */ public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication ( NtlmAuthenticator a, String url, SmbAuthException sae ) { if ( a == null ) { return null; } synchronized ( a ) { a.url = url; a.sae = sae; return a.getNtlmPasswordAuthentication(); } }
/** * @param a * @param url * @param sae * @return credentials returned by prompt */ public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication ( NtlmAuthenticator a, String url, SmbAuthException sae ) { if ( a == null ) { return null; } synchronized ( a ) { a.url = url; a.sae = sae; return a.getNtlmPasswordAuthentication(); } }