|
Core API 6.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.juniper.smgt.sae.portal.User
This bean represents a user currently logged in to SAE.
The current value of any of this bean's userIp
property or its
userDn property or its sessionId property determines which logged in user
this bean represents.
This bean's userIp or userDn or sessionId property
must be set before any other properties are read.
If the user is represented by a userIp property, it
is recommended to also set the timeStamp
property. The timeStamp identifies a point in time,
when the IP address was assigned to the user. Using this feature
is especially important, if a reference to this bean is kept
inside a session for a longer time.
The userDn property
can only be used to initialize this bean to represent an interface user. In general, an interface user
is a user that is logged in to SAE in response to an E-series router interface coming up (except for most authenticated PPP interfaces).
| Constructor Summary | |
User()
The default bean constructor. |
|
| Method Summary | |
void |
addScheduleEntry(ScheduleEntry aSE)
Adds a ScheuldeEntry for the Subscriber. |
String[] |
addSubscription(String serviceName,
String userName,
String password)
Subscribes the currently logged in user to the service specified by serviceName. |
String[] |
addSubscription(String serviceName,
String userName,
String password,
Map attributes)
Subscribes the currently logged in user to the service specified by serviceName. |
void |
deleteScheduleEntry(long date)
Deprecated. Use deleteScheduleEntry(String id) instead. Convert long date to string date using String.valueOf(date). |
void |
deleteScheduleEntry(String id)
Delete the ScheduleEntry for the Subscriber for the given date. |
String[] |
deleteSubscription(String serviceName,
String userName,
String password)
Unsubscribes the currently logged in user from the service specified by serviceName. |
String[] |
getActiveSubscriptionNames()
Returns the name of every service that is currently activated for this user. |
Object |
getAttribute(String attributeName)
Returns the value of the named attribute from this user's entry in SAE's LDAP user directory. |
String[] |
getAttributeNames()
Get the names of the LDAP attributes defined for the profile of the current user. |
Set |
getAuthDeniedReasons()
Those users who connect via authenticated PPP or DHCP, and whose automatic login (based on the PPP or DHCP session information, or on a registered login) was denied due to an authorization failure, will be assigned a copy of the unauthenticated user profile, and a set of messages explaining why the automatic login was denied will be available via this method (there may be more than one reason authorization was denied). |
String |
getAutoSubscriptions()
Returns subscriptions to be activated on login, set by RADIUS auth plugin. |
String[] |
getAvailableServiceNames()
Returns the names of every service currently available for this user session |
String[] |
getAvailableSubscriptionNames()
Returns the name of every service that is currently available to this user. |
static Set |
getDeprecatedProperties()
return a set of deprecated properties. |
DhcpPacket |
getDhcpPacket()
Return information about DHCP request. |
String[] |
getInterfaceAttributeNames()
Get the names of attributes of the interface which this user is connected. |
Map |
getInterfaceAttributes()
Get all attributes of the interface which this user is connected. |
String |
getIntfAlias()
Returns the alias of the router interface to which this user is connected, as it is configured in the E-series router. |
String |
getIntfName()
Returns the name of the router interface to which this user is connected. |
String |
getLoadSubscriptions()
Returns the filter for "loaded" subscriptions, set by RADIUS auth plugin. |
String |
getLocationName()
Return's the name of the user's current location. |
String |
getLoginDomain()
Returns this user's login domain (e.g. |
String |
getLoginId()
Returns this user's login ID (e.g. |
Date |
getLoginTime()
Returns the time & date that this user logged in to SAE. |
long |
getLoginTimestamp()
Returns the time that this user logged in to SAE in milliseconds since 1970-01-01T00:00:00 UTC. |
String |
getMacAddress()
Returns the user's MAC address as a string (e.g. |
String |
getName()
Returns this user's full name (e.g. |
String |
getNasIp()
Returns the IP address of the router which this user is connected. |
int |
getNumConcurrentGroupSessions()
Return the number of concurrent logins of the group of the current user profile. |
int |
getNumConcurrentSessions()
Return the number of concurrent logins of the current user profile. |
String[] |
getPersonalSubscriptionNames()
Returns the name of every service to which this user is personally subscribed. |
String |
getPrimaryUserName()
Return the primary user name of this User Session. |
Set |
getProperties()
Get the user session properties. |
String |
getPublicDhcpUserName()
Deprecated. Use getPrimaryUserName instead |
String[] |
getRadiusClass()
Returns radius class attribute from authorization plug-ins. |
int |
getRemainingSessionTime()
Returns the time in seconds that remain before this user will be automatically logged out from SAE. |
String[] |
getReplyMessages()
Return the "reply messages" from the authorization plug-in for the current user session. |
ScheduleEntry[] |
getScheduleEntries()
Get all schedule enteries for the Subscriber. |
ScheduleEntry |
getScheduleEntry(long date)
Deprecated. Use getScheduleEntry(String id) instead. Convert long date to string date using String.valueOf(date). |
ScheduleEntry |
getScheduleEntry(String id)
Get the ScheduleEntry for the Subscriber for the given date. |
long[] |
getScheduleEntryEventDates()
Get list of dates for the Subscriber for the Subscriber's schedules. |
String[] |
getScheduleEntryIds()
Get list of ids for the Subscriber for the Subscriber's schedules. |
List |
getScopes()
Return a list of the DN of the user's current scopes dn sorted by scope's precedence and seperated by "\n". |
String |
getServiceBundle()
Returns service bundle attribute from authorization plug-ins. |
String |
getSessionId()
Returns this user's session ID (e.g. |
String |
getSspPassword()
Returns the password attribute from this user's profile in LDAP, exactly as it is stored in the SAE's LDAP directory (i.e. |
String[] |
getSubscriptionAndServiceSessionNames()
Returns the name of every service to which this user is subscribed to and the name of subscriptions of active service sessions to which this user is not subscribed to but has an active session (i.e. fragment session from an aggregate service session). |
String[] |
getSubscriptionNames()
Returns the name of every service to which this user is subscribed. |
String |
getUserDn()
Returns the LDAP distinguished name with which this bean was initialized (e.g. |
String |
getUserIp()
Returns the IP address with which this bean was initialized (e.g. |
String |
getVirtualRouterName()
Return the virtual router name with which this bean was initialized. |
String |
getVrName()
Returns the name of the virtual router to which this user is connected. |
void |
grantPublicIp(String loginName,
String password)
Assigns a public IP address to the specified user. |
void |
grantPublicIp(String loginName,
String password,
DhcpProfile dhcpProfile)
Assigns a public IP address to the specified user. |
boolean |
isAnonymous()
Returns true if the user is anonymous. |
boolean |
isInitialized()
Returns true only if this bean has been fully initialized. |
boolean |
isIspServiceActive()
Deprecated. ISP services are no longer supported |
boolean |
isPppUser()
Deprecated. This method has been deprecated. Returns true only if the user is connected via authenticated PPP. |
boolean |
isPublicDhcpUser()
Deprecated. Use isAddressUser and getPrimaryUserName instead |
boolean |
isTokenDhcpUser()
Deprecated. Use isAddressUser and getPrimaryUserName instead |
boolean |
isUnauthenticated()
Returns true only if the user is unauthenticated. |
boolean |
login(String loginName,
String password)
Logs a user into SAE. |
void |
logout()
Logs a user out of SAE. |
void |
revokePublicIp()
Revokes the public IP address held by the specified user. |
void |
setSessionId(String sessionId)
Determines which user will be described or affected by all subsequent calls to this bean's methods. |
void |
setSessionTimeout(int timeout)
Set the Session Timeout for the current user session. |
void |
setTimeStamp(long timeStamp)
Set the time stamp. |
void |
setUserDn(String userDn)
Determines which interface user will be described or affected by all subsequent calls to this bean's methods. |
void |
setUserIp(String userIp)
Determines which user will be described or affected by all subsequent calls to this bean's methods. |
void |
setVirtualRouterName(String aVr)
Set the virtual router name. |
String |
toString()
For debugging only. |
void |
updatedScheduleEntry(String id,
ScheduledTime aScheduleTime,
Action[] aActions)
Updates the scheduled time and actions of the ScheduleEntry for the Subscriber for the given date. |
void |
updatedScheduleEntryActions(long date,
Action[] aActions)
Deprecated. Use updatedScheduleEntryActions(String id, Action[] aActions) instead. Convert long date to string date using String.valueOf(date). |
void |
updateSessionTimeout(int timeout)
Update the session timeout for the user session object that this bean has been initialized to provide access to. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public User()
| Method Detail |
public void setUserIp(String userIp)
throws UnknownUserException
userIp property has the side-effect of setting the userDn
property to null.
userIp - The desired user's current IP address in string format (e.g. "192.168.3.34").
IllegalArgumentException - If the userIp string does not contain a parseable IP address.
UnknownUserException - If the specified user is not currently logged in to SAE. In some cases, such as
with some interface users (e.g. some static IP users), SAE may not know a user's
IP address. In such cases,
this method will throw an UnknownUserException even if a user with the specified IP is logged
in to SAE. Portals that handle static IP users can redirect such users to a login JSP page whenever this
exception is thrown by this method. After calling Ssp.loginUser for a static IP user, SAE will know
the static IP user's IP address, and this method will no longer throw an UnknownUserException.Ssp.loginUser(java.lang.String, java.lang.String, java.lang.String)
public void setTimeStamp(long timeStamp)
throws UnknownUserException
UnknownUserExceptionpublic String getUserIp()
IllegalStateException - If this bean has not been properly initialized.
public void setUserDn(String userDn)
throws UnknownUserException,
NonUniqueUserException
userDn property has the
side-effect of setting the userIp
property to null.
userDn - The desired interface user's LDAP distinguished name in string format (e.g. "siteName=OttawaOffice,enterpriseName=XyzCorp,ou=Ottawa,retailername=ISP3,o=Users,o=UMC").
IllegalArgumentException - If the userDn string does not contain a parseable DN.
UnknownUserException - If an interface user with the specified DN is not currently logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn property is logged in more than once.public String getUserDn()
userIp property is no longer logged in to SAE.
since 4.2: Null, if this bean was initialized with an IP address and the user specified by this bean's userIp property is logged in more than once.
IllegalStateException - If this bean has not been properly initialized.
public void setSessionId(String sessionId)
throws UnknownUserException
sessionId - The desired user's current session ID in string format (e.g. "jane:1113315547138:0").
UnknownUserException - If the specified user is not currently logged in to SAE.public String getSessionId()
IllegalStateException - If this bean has not been properly initialized.public void setVirtualRouterName(String aVr)
public String getVirtualRouterName()
public boolean isInitialized()
sessionId or userIp or the userDn property has been set.
public String getName()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public Date getLoginTime()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been
properly initialized.
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by
this bean's userDn property is logged in more than
once.
public long getLoginTimestamp()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been
properly initialized.
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by
this bean's userDn property is logged in more than
once.
public int getRemainingSessionTime()
throws UnknownUserException,
NonUniqueUserException,
IllegalStateException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getLoginId()
throws UnknownUserException,
NonUniqueUserException
Ssp.loginUser method.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getLoginDomain()
throws UnknownUserException,
NonUniqueUserException
Ssp.loginUser method.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getSspPassword()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getLocationName()
throws UnknownUserException,
NonUniqueUserException
vrName property.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Service.setLocationName(java.lang.String),
getVrName()
public List getScopes()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getVrName()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getIntfName()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getIntfAlias()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getLoadSubscriptions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException
NonUniqueUserException
public String getAutoSubscriptions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException
NonUniqueUserException
public boolean isUnauthenticated()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Ssp.loginUser(java.lang.String, java.lang.String, java.lang.String)
public Set getAuthDeniedReasons()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public boolean isAnonymous()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public boolean isTokenDhcpUser()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public boolean isPublicDhcpUser()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getPublicDhcpUserName()
throws UnknownUserException,
NonUniqueUserException
grantPublicIp method, or
the Ssp.registerEquipment method.
This user name is of the form "userName@domainName".
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getPrimaryUserName()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by this
bean's userDn property is logged in more than
once.
public String getMacAddress()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public boolean isIspServiceActive()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String[] getSubscriptionNames()
throws UnknownUserException,
NonUniqueUserException
getPersonalSubscriptionNames method)
plus the subscriptions belonging to this user's household or site or enterprise
(i.e. those inherited from this user's "ancestor" user profiles in LDAP).
User Authentication plug-in can set a filter to the subscriptions. In this case,
the list of returned subscriptions can be a subset of the subscribed ones.
These names can be used to initialize the serviceName property
of a Subscription bean.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Subscription,
getPersonalSubscriptionNames()
public String[] getSubscriptionAndServiceSessionNames()
throws UnknownUserException,
NonUniqueUserException
getPersonalSubscriptionNames method)
plus the subscriptions belonging to this user's household or site or enterprise
(i.e. those inherited from this user's "ancestor" user profiles in LDAP).
User Authentication plug-in can set a filter to the subscriptions. In this case,
the list of returned subscriptions can be a subset of the subscribed ones.
These names can be used to initialize the serviceName property
of a Subscription bean.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String[] getPersonalSubscriptionNames()
throws UnknownUserException,
NonUniqueUserException
serviceName property
of a Subscription bean.
User Authentication plug-in can set a filter to the subscriptions. In this case,
the list of returned subscriptions can be a subset of the personally subscribed ones.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Subscription,
getSubscriptionNames()
public String[] getAvailableSubscriptionNames()
throws UnknownUserException,
NonUniqueUserException
getSubscriptionNames method)
minus the subscriptions that are currently suspended and
minus the subscriptions that are not accessible from the user's current location.
These names can be used to initialize the serviceName property
of a Subscription bean.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Subscription.isSuspended(),
getLocationName()
public String[] getAvailableServiceNames()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by this
bean's userDn property is logged in more than
once.
public String[] getActiveSubscriptionNames()
throws UnknownUserException,
NonUniqueUserException
serviceName property
of a Subscription bean.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.Subscription.setActive(boolean)
public Object getAttribute(String attributeName)
throws UnknownUserException,
NonUniqueUserException
Object must be cast to the appropriate type. If the attribute is multi-valued, the
returned Object must be cast to an array of the appropriate type.
IllegalStateException - If this bean's mandatory userIp or
userDn property has not been set.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public DhcpPacket getDhcpPacket()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String[] addSubscription(String serviceName,
String userName,
String password)
throws UnknownUserException,
UnknownServiceException,
ServiceAuthenticationException,
SspException,
NonUniqueUserException
serviceName. This method creates a
new subscription entry in SAE's LDAP user directory or revokes
its DELETED attribute if the subscription already existed with
the DELETED attribute marked as true. All configured
subscription authorization plug-ins must authorize the
subscription. If any plug-in rejects the subscription, a
ServiceAuthenticationException will be thrown.
serviceName - The desired service's name (e.g. "Video
Gold").userName - The user name passed to the subscription
authorization plugin.password - The password passed to the subscription
authorization plugin.
IllegalArgumentException - If the userIp
string does not contain a parseable IP address.
UnknownUserException - If the user specified by
userIp is not currently logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
UnknownServiceException - If the service specified by
the serviceName argument is not currently loaded
into SAE.
ServiceAuthenticationException - If any subscription
plug-in denies the subscription, or if the service
serviceName is not currently available for
subscription, or if the user is anonymous.
SspException - If the user with userIp
address is already subscribed to the service
serviceName or if failed to add the subscription
to its LDAP directory or if failed to revoke the subscription's
DELETED attribute.deleteSubscription(java.lang.String, java.lang.String, java.lang.String)
public String[] addSubscription(String serviceName,
String userName,
String password,
Map attributes)
throws UnknownUserException,
UnknownServiceException,
ServiceAuthenticationException,
SspException,
NonUniqueUserException
serviceName. This method creates a
new subscription entry in SAE's LDAP user directory or revokes
its DELETED attribute if the subscription already existed with
the DELETED attribute marked as true. All configured
subscription authorization plug-ins must authorize the
subscription. If any plug-in rejects the subscription, a
ServiceAuthenticationException will be thrown.
serviceName - The desired service's name (e.g. "Video
Gold").userName - The user name passed to the subscription
authorization plugin.password - The password passed to the subscription
authorization plugin.
IllegalArgumentException - If the userIp
string does not contain a parseable IP address.
UnknownUserException - If the user specified by
userIp is not currently logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
UnknownServiceException - If the service specified by
the serviceName argument is not currently loaded
into SAE.
ServiceAuthenticationException - If any subscription
plug-in denies the subscription, or if the service
serviceName is not currently available for
subscription, or if the user is anonymous.
SspException - If the user with userIp
address is already subscribed to the service
serviceName or if failed to add the subscription
to its LDAP directory or if failed to revoke the subscription's
DELETED attribute.deleteSubscription(java.lang.String, java.lang.String, java.lang.String)
public String[] deleteSubscription(String serviceName,
String userName,
String password)
throws UnknownUserException,
UnknownServiceException,
UnknownSubscriptionException,
ServiceAuthenticationException,
SspException,
NonUniqueUserException
serviceName. This method marks the
subscription's attribute DELETED as true from SAE's LDAP user
directory.
All configured subscription authorization plug-ins must
authorize the deletion of the subscription. If any plug-in
rejects the deletion, a ServiceAuthenticationException will be
thrown.
serviceName - The desired service's name (e.g. "Video
Gold").userName - The user name passed to the subscription
authorization plugin.password - The password passed to the subscription
authorization plugin.
IllegalArgumentException - If the userIp
string does not contain a parseable IP address.
UnknownUserException - If the user specified by
userIp is not currently logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
UnknownServiceException - If the service specified by
the serviceName argument is not currently loaded
into SAE.
UnknownSubscriptionException - If the user with
userIp address is not currently subscribed to the
service serviceName.
ServiceAuthenticationException - If any subscription
plug-in denies the subscription deletion, or if the user is anonymous.
SspException - If failed to mark the subscription's
attribute DELETED as true on its LDAP directory.addSubscription(java.lang.String, java.lang.String, java.lang.String)
public void setSessionTimeout(int timeout)
throws UnknownUserException,
NonUniqueUserException
timeout - max length of user session in seconds.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
UnknownUserException
public void updateSessionTimeout(int timeout)
throws UnknownUserException,
NonUniqueUserException
timeout is
equal to -1, the session timeout is cancelled.
The new value for the session timeout is not updated on
the E-series router.
timeout - max length of user session in seconds.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String getServiceBundle()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
NonUniqueUserException
public String[] getRadiusClass()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SAE.
property is logged in more than once.
NonUniqueUserException
public String[] getAttributeNames()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public int getNumConcurrentSessions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public int getNumConcurrentGroupSessions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public String[] getReplyMessages()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public void updatedScheduleEntry(String id,
ScheduledTime aScheduleTime,
Action[] aActions)
throws SspException,
IllegalStateException,
UnknownUserException,
NonUniqueUserException
SspException - If there is no schedule entry for the
subscriber for the given date or if there is a failure to
update the schedule entry in the LDAP Directory Server.
IllegalStateException - If this bean has not been properly
initialized.
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public void deleteScheduleEntry(String id)
throws SspException,
IllegalStateException,
UnknownUserException,
NonUniqueUserException
SspException - If there is no schedule entry for the
subscriber for the given date or if there is a failure to
delete the schedule entry from the LDAP Directory Server.
IllegalStateException - If this bean has not been properly
initialized.
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.deleteScheduleEntry(String id)
public String[] getScheduleEntryIds()
throws SspException,
IllegalStateException,
UnknownUserException,
NonUniqueUserException
SspException - If there is no schedule entry for the
subscriber for the given date or if there is a failure to
delete the schedule entry from the LDAP Directory Server.
IllegalStateException - If this bean has not been properly
initialized.
UnknownUserException - If the user is no longer logged
in to SAE.
NonUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
public void addScheduleEntry(ScheduleEntry aSE)
throws SspException,
IllegalStateException,
UnknownUserException,
NonUniqueUserException
SspException - If there is already a schedule entry for the
subscriber for the given date or if there is a failure to
add the schedule entry to the LDAP Directory Server.
IllegalStateException - If this bean has not been properly
initialized.
UnknownUserException - If the user is no longer logged
in