Class DefaultVOMSServerInfo
- java.lang.Object
-
- org.italiangrid.voms.request.impl.DefaultVOMSServerInfo
-
- All Implemented Interfaces:
VOMSServerInfo
public class DefaultVOMSServerInfo extends Object implements VOMSServerInfo
The default implementation of theVOMSServerInfo
endpoint information.- Author:
- andreaceccanti
-
-
Constructor Summary
Constructors Constructor Description DefaultVOMSServerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAlias()
Returns the alias for thisVOMSServerInfo
.URI
getURL()
Returns the URL for thisVOMSServerInfo
.String
getVOMSServerDN()
Returns the certificate subject as listed in the VOMSES configuration for thisVOMSServerInfo
String
getVoName()
Returns the VO name for thisVOMSServerInfo
.int
hashCode()
void
setAlias(String alias)
void
setURL(URI uRL)
void
setVOMSServerDN(String vomsServerDN)
void
setVoName(String voName)
String
toString()
-
-
-
Method Detail
-
getAlias
public String getAlias()
Description copied from interface:VOMSServerInfo
Returns the alias for thisVOMSServerInfo
.- Specified by:
getAlias
in interfaceVOMSServerInfo
- Returns:
- the alias
-
setAlias
public void setAlias(String alias)
-
getVoName
public String getVoName()
Description copied from interface:VOMSServerInfo
Returns the VO name for thisVOMSServerInfo
.- Specified by:
getVoName
in interfaceVOMSServerInfo
- Returns:
- the vo name
-
setVoName
public void setVoName(String voName)
-
getVOMSServerDN
public String getVOMSServerDN()
Description copied from interface:VOMSServerInfo
Returns the certificate subject as listed in the VOMSES configuration for thisVOMSServerInfo
- Specified by:
getVOMSServerDN
in interfaceVOMSServerInfo
- Returns:
- a string containing the certificate subject, enconded following the DN openssl slash-separated syntax
-
setVOMSServerDN
public void setVOMSServerDN(String vomsServerDN)
-
getURL
public URI getURL()
Description copied from interface:VOMSServerInfo
Returns the URL for thisVOMSServerInfo
.- Specified by:
getURL
in interfaceVOMSServerInfo
- Returns:
- the contact
URI
-
setURL
public void setURL(URI uRL)
-
-