/** * Creates a Type-2 message in response to the given Type-1 message. * * @param type1 The Type-1 message which this represents a response to. * @param challenge The challenge from the domain controller/server. * @param target The authentication target. */ public Type2Message(Type1Message type1, byte[] challenge, String target) { this(getDefaultFlags(type1), challenge, (type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET)) ? getDefaultDomain() : target); }
/** * Creates a Type-2 message in response to the given Type-1 message. * * @param type1 The Type-1 message which this represents a response to. * @param challenge The challenge from the domain controller/server. * @param target The authentication target. */ public Type2Message(Type1Message type1, byte[] challenge, String target) { this(getDefaultFlags(type1), challenge, (type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET)) ? getDefaultDomain() : target); }
/** * Creates a Type-2 message in response to the given Type-1 message. * * @param type1 The Type-1 message which this represents a response to. * @param challenge The challenge from the domain controller/server. * @param target The authentication target. */ public Type2Message(Type1Message type1, byte[] challenge, String target) { this(getDefaultFlags(type1), challenge, (type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET)) ? getDefaultDomain() : target); }
/** * Creates a Type-2 message in response to the given Type-1 message. * * @param tc * context to use * @param type1 * The Type-1 message which this represents a response to. * @param challenge * The challenge from the domain controller/server. * @param target * The authentication target. */ public Type2Message ( CIFSContext tc, Type1Message type1, byte[] challenge, String target ) { this( tc, getDefaultFlags(tc, type1), challenge, ( type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET) ) ? tc.getConfig().getDefaultDomain() : target); }
/** * Creates a Type-2 message in response to the given Type-1 message. * * @param tc * context to use * @param type1 * The Type-1 message which this represents a response to. * @param challenge * The challenge from the domain controller/server. * @param target * The authentication target. */ public Type2Message ( CIFSContext tc, Type1Message type1, byte[] challenge, String target ) { this( tc, getDefaultFlags(tc, type1), challenge, ( type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET) ) ? tc.getConfig().getDefaultDomain() : target); }