|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.acegisecurity.providers.AbstractAuthenticationToken
net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
org.alfresco.repo.security.authentication.ntlm.NTLMLocalToken
org.alfresco.repo.security.authentication.ntlm.NTLMPassthruToken
public class NTLMPassthruToken
Used to provide passthru authentication to a remote Windows server using multiple stages that allows authentication details to be passed between a client and the remote authenticating server without the password being known by the authentication provider.
Constructor Summary | |
---|---|
NTLMPassthruToken()
Class constructor |
|
NTLMPassthruToken(java.net.InetAddress ipAddr)
Class constructor |
|
NTLMPassthruToken(java.lang.String domain)
Class constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Check for object equality |
long |
getAuthenticationExpireTime()
Return the authentication expiry time, this will be zero if the authentication session has not yet been opened to the server |
NTLMChallenge |
getChallenge()
Return the challenge |
byte[] |
getHashedPassword()
Return the hashed password |
int |
getPasswordType()
Return the hashed password type |
java.lang.Object |
getPrincipal()
Return the user account |
protected void |
setAuthenticationExpireTime(long expireTime)
Set the authentication expire time, this indicates that an authentication session is associated with this token and the session will be closed if the authentication is not completed by this time. |
protected void |
setChallenge(NTLMChallenge challenge)
Set the challenge for this token |
void |
setUserAndPassword(java.lang.String username,
byte[] hashedPassword,
int hashType)
Set the hashed password and type |
Methods inherited from class org.alfresco.repo.security.authentication.ntlm.NTLMLocalToken |
---|
getClientAddress, getClientDomain, hasAuthority, hasClientAddress, hasClientDomain, isAdministrator, isGuestLogon |
Methods inherited from class net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken |
---|
getAuthorities, getCredentials, getDetails, isAuthenticated, setAuthenticated, setAuthorities, setDetails |
Methods inherited from class net.sf.acegisecurity.providers.AbstractAuthenticationToken |
---|
getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
hashCode |
Constructor Detail |
---|
public NTLMPassthruToken()
public NTLMPassthruToken(java.lang.String domain)
public NTLMPassthruToken(java.net.InetAddress ipAddr)
ipAddr
- InetAddressMethod Detail |
---|
public final NTLMChallenge getChallenge()
public final java.lang.Object getPrincipal()
getPrincipal
in interface net.sf.acegisecurity.Authentication
getPrincipal
in class net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
public final byte[] getHashedPassword()
public final int getPasswordType()
public final long getAuthenticationExpireTime()
public final void setUserAndPassword(java.lang.String username, byte[] hashedPassword, int hashType)
hashedPassword
- byte[]hashType
- intprotected final void setChallenge(NTLMChallenge challenge)
challenge
- NTLMChallengeprotected final void setAuthenticationExpireTime(long expireTime)
startTime
- longpublic boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class net.sf.acegisecurity.providers.AbstractAuthenticationToken
obj
- Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |