Package jcifs.smb
Interface CredentialsInternal
-
- All Superinterfaces:
Cloneable
,Credentials
- All Known Subinterfaces:
SmbRenewableCredentials
- All Known Implementing Classes:
JAASAuthenticator
,Kerb5Authenticator
,NtlmNtHashAuthenticator
,NtlmPasswordAuthentication
,NtlmPasswordAuthenticator
public interface CredentialsInternal extends Cloneable, Credentials
- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CredentialsInternal
clone()
SSPContext
createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
Subject
getSubject()
void
refresh()
-
Methods inherited from interface jcifs.Credentials
getUserDomain, isAnonymous, isGuest, unwrap
-
-
-
-
Method Detail
-
clone
CredentialsInternal clone()
- Returns:
- a copy of the credentials
-
createContext
SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException
- Parameters:
tc
-targetDomain
-host
-initialToken
-doSigning
-- Returns:
- a new context
- Throws:
SmbException
-
getSubject
Subject getSubject()
- Returns:
- subject associated with the credentials
-
refresh
void refresh() throws CIFSException
- Throws:
CIFSException
-
-