- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for setAttribute (0.25 sec)
-
src/main/java/jcifs/http/NtlmHttpFilter.java
if ( this.loadBalance ) { NtlmChallenge chal = (NtlmChallenge) ssn.getAttribute("NtlmHttpChal"); if ( chal == null ) { chal = getChallengeForDomain(this.defaultDomain); ssn.setAttribute("NtlmHttpChal", chal); } dc = chal.dc; challenge = chal.challenge;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
byte[] challenge; if( loadBalance ) { NtlmChallenge chal = (NtlmChallenge)ssn.getAttribute( "NtlmHttpChal" ); if( chal == null ) { chal = SmbSession.getChallengeForDomain(); ssn.setAttribute( "NtlmHttpChal", chal ); } dc = chal.dc; challenge = chal.challenge;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
} HttpSession ssn = request.getSession(); ssn.setAttribute("NtlmHttpAuth", ntlm); ssn.setAttribute( "ntlmdomain", ntlm.getDomain() ); ssn.setAttribute( "ntlmuser", ntlm.getUsername() ); } else { HttpSession ssn = request.getSession(false); if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
HttpSession ssn = request.getSession(); ssn.setAttribute("NtlmHttpAuth", ntlm); ssn.setAttribute("ntlmdomain", ntlm.getUserDomain()); ssn.setAttribute("ntlmuser", ntlm.getUsername()); } else { HttpSession ssn = request.getSession(false); if ( ssn == null || ssn.getAttribute("NtlmHttpAuth") == null ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
} f.setAttributes(attrs); assertEquals(attrs, f.getAttributes()); } catch ( SmbUnsupportedOperationException e ) { Assume.assumeTrue("No Ntsmbs", false); } finally { try { f.setAttributes(f.getAttributes() & ~SmbConstants.ATTR_READONLY); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
} req.getSession().setAttribute("npa-" + server, ntlm); } else if ( !this.credentialsSupplied ) { if ( ssn != null ) { ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server); } if ( ntlm == null ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
ntlm = new NtlmPasswordAuthentication(domain, user, password); } req.getSession().setAttribute( "npa-" + server, ntlm ); } else if( !credentialsSupplied ) { if( ssn != null ) { ntlm = (NtlmPasswordAuthentication)ssn.getAttribute( "npa-" + server ); } if( ntlm == null ) { resp.setHeader( "WWW-Authenticate", "NTLM" );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 22 03:57:31 GMT 2020 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
try { b.setAttributes(SmbConstants.ATTR_HIDDEN); haveHidden = true; } catch ( SmbUnsupportedOperationException e ) {} c.createNewFile(); boolean haveArchive = false; try { c.setAttributes(SmbConstants.ATTR_ARCHIVE); haveArchive = true;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Turn off the read-only attribute of this file. This is shorthand for * <tt>setAttributes( getAttributes() & ~ATTR_READONLY )</tt>. * * @throws CIFSException */ void setReadWrite () throws CIFSException; /** * Make this file read-only. This is shorthand for <tt>setAttributes( * getAttributes() | ATTR_READ_ONLY )</tt>. * * @throws CIFSException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} } @Override public void setReadOnly () throws SmbException { setAttributes(getAttributes() | ATTR_READONLY); } @Override public void setReadWrite () throws SmbException { setAttributes(getAttributes() & ~ATTR_READONLY); } /** * Returns a {@link java.net.URL} for this <code>SmbFile</code>. The
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0)