org.aselect.server.elo
Class ELO

java.lang.Object
  extended by org.aselect.server.elo.ELO

public class ELO
extends java.lang.Object

Contains the default properties from a registered ELO.

Concurrency issues:
-

Author:
Alfa & Ariss

Constructor Summary
ELO(java.lang.String sEloID, java.lang.String sEloSharedSecret, java.lang.String sEloURL, int iLevel, boolean bShowTemplate)
          Default constructor.
 
Method Summary
 java.lang.String getID()
          returns the ELO ID.
 int getLevel()
          Returns the AuthSP level associated with the ELO.
 java.lang.String getSharedSecret()
          returns the shared secret associated with the ELO.
 java.lang.String getURL()
          returns the URL associated with the ELO.
 void setID(java.lang.String sEloID)
          sets the ELO ID.
 void setLevel(int iLevel)
          Sets the AuthSP level associated with the ELO.
 void setSharedSecret(java.lang.String sEloSharedSecret)
          The shared secret associated with the ELO.
 void setURL(java.lang.String sEloURL)
          sets the URL associated with the ELO.
 boolean showTemplate()
          Returns if a template should be shown after setting the SSO notification cookie.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELO

public ELO(java.lang.String sEloID,
           java.lang.String sEloSharedSecret,
           java.lang.String sEloURL,
           int iLevel,
           boolean bShowTemplate)
Default constructor.

Concurrency issues:
-

Preconditions:
- sEloID != null

- sEloSharedSecret != null

- sEloURL != null

Postconditions:
-

Parameters:
sEloID - The ELO Identifier.
sEloSharedSecret - The Shared secret that is known by the ELO.
sEloURL - The URL the ELO is reachable at.
iLevel - The AuthSP level the ELO is granted.
bShowTemplate - TRUE to show template
Method Detail

getID

public java.lang.String getID()
returns the ELO ID.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
the ELO id.

setID

public void setID(java.lang.String sEloID)
sets the ELO ID.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
sEloID - The ELO ID.

getSharedSecret

public java.lang.String getSharedSecret()
returns the shared secret associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
the shared secret associated with the ELO.

setSharedSecret

public void setSharedSecret(java.lang.String sEloSharedSecret)
The shared secret associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
sEloSharedSecret - the shared secret associated with the ELO.

getURL

public java.lang.String getURL()
returns the URL associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
The URL associated with the ELO.

setURL

public void setURL(java.lang.String sEloURL)
sets the URL associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
sEloURL - The URL associated with the ELO.

getLevel

public int getLevel()
Returns the AuthSP level associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
the level.

setLevel

public void setLevel(int iLevel)
Sets the AuthSP level associated with the ELO.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
iLevel - The ELO level.

showTemplate

public boolean showTemplate()
Returns if a template should be shown after setting the SSO notification cookie.

Description:


Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
TRUE if template should be showed


Copyright © 2008 SURFnet BV. All Rights Reserved.