|
Core API 4.3 | |||||||||
| 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 SSP.
The current value of either this bean's userIp
property or its
userDn property determines which logged in user
this bean represents. Whenever one of these two user-identifying properties is set, the other
is automatically set to null.
This bean's userIp or userDn 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 SSP in response to an E-series router interface coming up (except for most authenticated PPP interfaces).
Amongst interface users
only, every interface user is associated with a unique LDAP distinguished name. See the SSP documentation for more
information about interface users.
| 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. |
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 SSP'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[] |
getAvailableSubscriptionNames()
Returns the name of every service that is currently available to this user. |
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 |
getPublicDhcpUserName()
Returns the user name that was passed from SSP to an E-series router, and then authenticated via RADIUS, before this user's current public IP address was granted. |
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 SSP. |
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 |
getSspPassword()
Returns the password attribute from this user's profile in LDAP, exactly as it is stored in the SSP's LDAP directory (i.e. |
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 |
getVrName()
Returns the name of the virtual router to which this user is connected. |
boolean |
isAnonymous()
Returns true if the user is anonymous. |
boolean |
isInitialized()
Returns true only if this bean has been fully initialized. |
boolean |
isIspServiceActive()
Returns true only if this user currently has a service of type Service.ISP active. |
boolean |
isPppUser()
Deprecated. This method has been deprecated. Returns true only if the user is connected via authenticated PPP. |
boolean |
isPublicDhcpUser()
Returns true only if the user is connected via DHCP, and currently has a public IP address. |
boolean |
isTokenDhcpUser()
Returns true only if the user is connected via DHCP, and currently has a 'token' IP address. |
boolean |
isUnauthenticated()
Returns true only if the user is unauthenticated. |
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. |
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 SSP. In some cases, such as
with some interface users (e.g. some static IP users), SSP 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 SSP. 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, SSP 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 SSP.
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 SSP.
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 boolean isInitialized()
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 SSP.
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 SSP.
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 SSP.
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 SSP.
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionService.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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionSsp.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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionService.ISP
public String getPublicDhcpUserName()
throws UnknownUserException,
NonUniqueUserException
Ssp.grantPublicIp method,
the Ssp.registerEquipment method, or
the Subscription.setSubscriptionUsername method (in the case where this user obtained
his public IP address via an ISP service activation).
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public boolean isIspServiceActive()
throws UnknownUserException,
NonUniqueUserException
Service.ISP active. If so,
then the user's IP address will be automatically changed the next time he logs in or logs out.
If an ISP service is active and the user
logs in or out, all his services, including the ISP service, will be deactivated.
Deactivating the ISP service will revoke the DHCP lease for the user's public IP address.
Only DHCP users can activate services of type Service.ISP.
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionService.ISP
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionSubscription,
getPersonalSubscriptionNames()
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionSubscription,
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 and,
if the user is not connected via DHCP, minus all subscriptions to ISP services.
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionSubscription.isSuspended(),
getLocationName(),
Service.ISP
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionSubscription.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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public DhcpPacket getDhcpPacket()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - If the user is no longer logged in to SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public String[] addSubscription(String serviceName,
String userName,
String password)
throws UnknownUserException,
UnknownServiceException,
ServiceAuthenticationException,
SspException,
NonUniqueUserException
serviceName. This method creates a
new subscription entry in SSP'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 SSP.
NoneUniqueUserException - 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 SSP.
ServiceAuthenticationException - If any subscription
plug-in denies the subscription, or if the service
serviceName is not currently available for
subscription.
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.
NonUniqueUserExceptiondeleteSubscription(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 SSP'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 SSP.
NoneUniqueUserException - 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 SSP.
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.
SspException - If failed to mark the subscription's
attribute DELETED as true on its LDAP directory.
NonUniqueUserExceptionaddSubscription(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.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
UnknownUserException
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
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 SSP.
property is logged in more than once.
NonUniqueUserException
public String[] getAttributeNames()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public int getNumConcurrentSessions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public int getNumConcurrentGroupSessions()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public String[] getReplyMessages()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptiondeleteScheduleEntry(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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
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 to SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public void updatedScheduleEntryActions(long date,
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public void deleteScheduleEntry(long date)
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptiondeleteScheduleEntry(String id)
public ScheduleEntry getScheduleEntry(long date)
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public ScheduleEntry getScheduleEntry(String id)
throws SspException,
IllegalStateException,
UnknownUserException,
NonUniqueUserException
id - The unique id of the schedule entry.
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public ScheduleEntry[] getScheduleEntries()
throws SspException,
IllegalStateException,
UnknownUserException
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 SSP.
public long[] getScheduleEntryEventDates()
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 SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserException
public String getNasIp()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SSP.
NonUniqueUserException
public String[] getInterfaceAttributeNames()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException
public Map getInterfaceAttributes()
throws UnknownUserException,
NonUniqueUserException
UnknownUserException - if the User is currently not
logged in.
NonUniqueUserException
public boolean isPppUser()
throws UnknownUserException,
NonUniqueUserException
IllegalStateException - If this bean has not been properly initialized.
UnknownUserException - If the user is no longer logged in to SSP.
NoneUniqueUserException - If the user specified by this bean's userDn
property is logged in more than once.
NonUniqueUserExceptionpublic String toString()
toString in class Object
|
Core API 4.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||