|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blackboard.platform.security.SecurityDbUtil
public class SecurityDbUtil
A utility class that encapsulates a handful database operations performed by blackboard.platform.security classes and/or classes within its sub-package.
Constructor Summary | |
---|---|
SecurityDbUtil()
|
Method Summary | |
---|---|
static boolean |
getBackpackUIAllowed()
Convenience method to determine whether to display Bbackpack links. |
static boolean |
getCreateAccountAllowed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Convenience method to determine whether users may create new accounts. |
static EntitlementDbLoader |
getEntitlementDbLoader()
Returns the EntitlementDbLoader instance associated with
the default instance of the database BbPersistenceManager . |
static java.lang.String |
getForgotPasswordUrl()
Convenience method to determine whether users may request their password. |
static boolean |
getGuestAllowed()
Convenience method to determine whether guests may access Blackboard installation. |
static boolean |
getPortalDirectEntry(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Convenience method to determine whether Portal Direct Entry is enabled. |
static boolean |
getRetrievePasswordAllowed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Convenience method to determine whether users may request their password. |
static java.lang.String |
getSoftwareTitle(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Convenience method to determine the proper name for this Blackboard system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityDbUtil()
Method Detail |
---|
public static EntitlementDbLoader getEntitlementDbLoader()
EntitlementDbLoader
instance associated with
the default instance of the database BbPersistenceManager
.
BbPersistenceManager bbPm = BbServiceManager.getPersistenceService().getDbPersistenceManager(); entitlementLoader = (EntitlementDbLoader) bbPm.getLoader ( EntitlementDbLoader.TYPE );
EntitlementDbLoader
instance associated with the
default database persistence manager
PersistenceException
- if an error occurs when trying to retrieve
the EntitlementDbLoader
instancepublic static java.lang.String getSoftwareTitle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- the HttpServletRequest
res
- the HttpServletResponse
public static boolean getPortalDirectEntry(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- the current HttpServletRequestres
- the current HttpServletResponsepublic static boolean getGuestAllowed()
public static boolean getCreateAccountAllowed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
req
- the current HttpServletRequestres
- the current HttpServletResponse
public static boolean getRetrievePasswordAllowed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
req
- the the HttpServletRequestres
- the the HttpServletResponse
public static java.lang.String getForgotPasswordUrl()
public static boolean getBackpackUIAllowed()
req
- the current HttpServletRequestres
- the current HttpServletResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |