public class PassthruServerDetails
extends java.lang.Object
Contains the details of a server used for passthru authentication, the current status of the server and count of authentications done via this server.
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getAddress()
Return the server address
|
int |
getAuthenticationCount()
Return the authentication count for the server
|
long |
getAuthenticationDateTime()
Return the date/time of the last authentication by this server
|
java.lang.String |
getDomain()
Return the domain name
|
java.lang.String |
getName()
Return the server name
|
int |
hashCode()
Return the hash code for this object
|
void |
incrementAuthenticationCount()
Update the authentication count and date/time
|
boolean |
isOnline()
Return the online status of the server
|
void |
setDomain(java.lang.String domain)
Set the domain that the offline server belongs to
|
void |
setOnline(boolean online)
Set the online status for the server
|
java.lang.String |
toString()
Return the passthru server details as a string
|
public final java.lang.String getName()
public final java.lang.String getDomain()
public final java.net.InetAddress getAddress()
public final boolean isOnline()
public final int getAuthenticationCount()
public final long getAuthenticationDateTime()
public final void setDomain(java.lang.String domain)
domain
- Stringpublic final void setOnline(boolean online)
online
- booleanpublic final void incrementAuthenticationCount()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.