ssn.removeAttribute( "npa-" + server ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
@Override public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException { try { return this.gssContext.initSecContext(token, off, len); } catch ( GSSException e ) { throw new SmbAuthException("GSSAPI mechanism failed", e); } }
sae.printStackTrace( log ); } catch( SmbException se ) { if( log.level > 2 )
throw new AuthException(fileURL, e.getMessage());
success = true; } catch (final SmbAuthException sae) { throw new FailedLoginException(sae.getMessage());
@Override public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException { try { return this.gssContext.initSecContext(token, off, len); } catch ( GSSException e ) { throw new SmbAuthException("GSSAPI mechanism failed", e); } }
ssn.removeAttribute( "npa-" + server ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
sae.printStackTrace( log ); } catch( SmbException se ) { if( log.level > 2 )
success = true; } catch (final SmbAuthException sae) { throw new FailedLoginException(sae.getMessage());
case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT: case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE: throw new SmbAuthException(resp.getErrorCode()); case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED: break; /* normal for SPNEGO */
if( log.level > 1 ) { log.println( "NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.util.Hexdump.toHexString( sae.getNtStatus(), 8 ) + ": " + sae ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
sae.printStackTrace(); } catch( SmbException se ) {
case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT: case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE: throw new SmbAuthException(resp.getErrorCode()); case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED: break; /* normal for SPNEGO */
if( log.level > 1 ) { log.println( "NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.util.Hexdump.toHexString( sae.getNtStatus(), 8 ) + ": " + sae ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
sae.printStackTrace( log ); } catch( SmbException se ) { if( log.level > 2 )
case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT: case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE: throw new SmbAuthException(resp.getErrorCode()); case 0xC00000BB: // NT_STATUS_NOT_SUPPORTED throw new SmbUnsupportedOperationException();
if( log.level > 1 ) { log.println( "NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.util.Hexdump.toHexString( sae.getNtStatus(), 8 ) + ": " + sae ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT: case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE: throw new SmbAuthException(resp.getErrorCode()); case 0xC00000BB: // NT_STATUS_NOT_SUPPORTED throw new SmbUnsupportedOperationException();
ssn.removeAttribute( "npa-" + server ); if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {