|
Core API 6.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--net.juniper.smgt.sae.portal.PortalException
|
+--net.juniper.smgt.sae.portal.SspException
|
+--net.juniper.smgt.sae.portal.ServiceAuthenticationException
This exception is thrown when an attempt to activate or modify a
Subscription is rejected, or when an attempt to
grant a public IP address fails due to an authentication failure, or
when an attempt to user self subscription or user self unsubscription
is denied by the subscription authorization plug-in, or when the user
attempts to self subscribe to a service loaded to ssp but unvailable for new
subscriptions.
Subscription.setActive(boolean),
Subscription.setActivationTrigger(java.lang.String),
Ssp.grantPublicIp(java.lang.String, java.lang.String, java.lang.String),
Ssp.addSubscription(java.lang.String, java.lang.String, java.lang.String, java.lang.String),
Ssp.deleteSubscription(java.lang.String, java.lang.String, java.lang.String, java.lang.String),
Serialized Form| Field Summary | |
static int |
ACTIVATE_ONLY
If getReason() returns this value, this exception occurred because
it is not allowed to deactivate an "activateOnly" service. |
static int |
ANONYMOUS_USER
If getReason() returns this value, this exception occurred because
an anonymous user attempted to modify a subscription or add a subbscription or delete
a subscription. |
static int |
AUTH_PRECLUDES_ACTIVATE_ON_LOGIN
If getReason() returns this value, this exception occurred because
an attempt was made to make a subscription to a service that requires
authentication an activate-on-login subscription. |
static int |
FILTERED_OUT
If getReason() returns this value, this exception occurred because
it is not allowed to activate or deactivate a subscription filtered out by RADIUS
auth plug-in through the portal API. |
static int |
INHERITED_SUBSCRIPTION
If getReason() returns this value, this exception occurred because
an attempt was made to alter a subscription that the user inherited from another
user profile. |
static int |
INVISIBLE
If getReason() returns this value, this exception occurred because
it is not allowed to activate or deactivate a subscription to a "invisible" service
through the portal API. |
static int |
MUTEX_GROUPS
If getReason() returns this value, this exception occurred because
service mutex groups are currently configured to forbid the attempted subscription activation or
modification. |
static int |
NO_SESSION_MODIFICATION
If getReason() returns this value, this exception occurred because
it is not allowed to modify an active session of an ISP service. |
static int |
PERSISTENT_ACTIVATION
If getReason() returns this value, this exception occurred when
failed to a add a persistent activation. |
static int |
PUBLIC_IP_AUTHENTICATION
If getReason() returns this value, this exception
occurred because the E-series router failed to authenticate the
public IP address credentials that are required for a DHCP user
to obtain a public IP address. |
static int |
SERVICE_AUTHORIZATION
If getReason() returns this value, this exception occurred because
a service authorization plug-in forbid the attempted service activation or
service session modification. |
static int |
SERVICE_UNAVAILABLE
If getReason() returns this value, this exception occurred because
the service is not currently available for subscription. |
static int |
SUBSCRIPTION_AUTHORIZATION
If getReason() returns this value, this exception occurred because
a subscription authorization plug-in forbid the attempted service self subscription or
self unsubscription. |
static int |
TRANSIENT_EXCEPTION
If getReason() returns this value, this exception occurred when
activation or deactivation failed due to a transitory problem. |
| Method Summary | |
int |
getReason()
Returns the reason code that explains the reason for this exception. |
Subscription |
getSourceBean()
Returns the Subscription bean that threw this
exception during an attempt to activate or modify a subscription, or null. |
| Methods inherited from class net.juniper.smgt.sae.portal.SspException |
getMessage, getWebMessage, setWebMessage |
| Methods inherited from class net.juniper.smgt.sae.portal.PortalException |
printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int PUBLIC_IP_AUTHENTICATION
getReason() returns this value, this exception
occurred because the E-series router failed to authenticate the
public IP address credentials that are required for a DHCP user
to obtain a public IP address.
getReason(),
Constant Field Valuespublic static final int MUTEX_GROUPS
getReason() returns this value, this exception occurred because
service mutex groups are currently configured to forbid the attempted subscription activation or
modification.
getReason(),
Constant Field Valuespublic static final int SERVICE_AUTHORIZATION
getReason() returns this value, this exception occurred because
a service authorization plug-in forbid the attempted service activation or
service session modification. One possible reason for this could be a
failure to authenticate service-specific credentials.
Call getMessage() to get the reply messages from plug-ins.
getReason(),
SspException.getMessage(),
Constant Field Valuespublic static final int ANONYMOUS_USER
getReason() returns this value, this exception occurred because
an anonymous user attempted to modify a subscription or add a subbscription or delete
a subscription. Anonymous users are not allowed
to modify their subscriptions or to add or delete them.
getReason(),
Constant Field Valuespublic static final int AUTH_PRECLUDES_ACTIVATE_ON_LOGIN
getReason() returns this value, this exception occurred because
an attempt was made to make a subscription to a service that requires
authentication an activate-on-login subscription. Subscriptions to services that
require authentication can not be set to activate on login.
getReason(),
Constant Field Valuespublic static final int INHERITED_SUBSCRIPTION
getReason() returns this value, this exception occurred because
an attempt was made to alter a subscription that the user inherited from another
user profile. Users are not allowed to modify inherited subscriptions.
getReason(),
Constant Field Valuespublic static final int SERVICE_UNAVAILABLE
getReason() returns this value, this exception occurred because
the service is not currently available for subscription.
getReason(),
Constant Field Valuespublic static final int SUBSCRIPTION_AUTHORIZATION
getReason() returns this value, this exception occurred because
a subscription authorization plug-in forbid the attempted service self subscription or
self unsubscription. One possible reason for this could be a failure to authenticate
user-specific credentials. Call getMessage() to get the reply messages from plug-ins.
getReason(),
SspException.getMessage(),
Constant Field Valuespublic static final int ACTIVATE_ONLY
getReason() returns this value, this exception occurred because
it is not allowed to deactivate an "activateOnly" service.
getReason(),
Constant Field Valuespublic static final int INVISIBLE
getReason() returns this value, this exception occurred because
it is not allowed to activate or deactivate a subscription to a "invisible" service
through the portal API.
getReason(),
Constant Field Valuespublic static final int FILTERED_OUT
getReason() returns this value, this exception occurred because
it is not allowed to activate or deactivate a subscription filtered out by RADIUS
auth plug-in through the portal API.
getReason(),
Constant Field Valuespublic static final int NO_SESSION_MODIFICATION
getReason() returns this value, this exception occurred because
it is not allowed to modify an active session of an ISP service.
getReason(),
Constant Field Valuespublic static final int TRANSIENT_EXCEPTION
getReason() returns this value, this exception occurred when
activation or deactivation failed due to a transitory problem.
getReason(),
Constant Field Valuespublic static final int PERSISTENT_ACTIVATION
getReason() returns this value, this exception occurred when
failed to a add a persistent activation.
getReason(),
Constant Field Values| Method Detail |
public Subscription getSourceBean()
Subscription bean that threw this
exception during an attempt to activate or modify a subscription, or null.
Ssp.grantPublicIp. In
this case, no subscription is involved.public int getReason()
|
Core API 6.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||