Access Keys:
Skip to content (Access Key - 0)
compared with
Current by Dan Rinzel
on 25 May 2012 07:33 PM.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (11)

View Page History
In addition to the custom authentication APIs that ship with the product, Blackboard has contributed an open source [Building Block|http://projects.oscelot.org/gf/project/autosignon/] to OSCELOT that implements the AutoSignOn protocol for passing users into Blackboard without the need to reauthenticate.
{info}
{info}
With the release of Blackboard Learn 9.1, Service Pack 8, a new, pluggable authentication framework is available, that can be written to by Building Blocks. A [Source Code Example|http://bit.ly/BbLearnLDAP] that connects to LDAP services, is available on Behind the Blackboard.
{info}
{column}
{column:width=50%}
{panel}
{column}

{section}
{anchor:BACKGROUND}
h2. Background Information

A common task in Blackboard is to integrate a custom theme. Blackboard supports LDAP, Blackboard Integrated and Shibolleth Authentication out of the box. The community has also developed a number of building blocks for common authentication schemes including:
* [CAS|http://code.google.com/p/blackboard-cas/]
* [Shared Secret|http://projects.oscelot.org/gf/project/sso-in-shared/]

h4. Configuration details

See the blackboard documentation for primary information on how to install and configure custom auth modules.

h4. Other required configuration

As well as updating bb-config.properties, and running PushConfigUpdates.sh push You must also set the path to your custom jar file in other locations.
# _/opt/blackboard/apps/collab-server/collabserverctl.sh_ To ensure the collabserver continues to function.
Add your jar to the list of jars in the classpath in this script.
e.g. Add the line. COLLAB_CLASSPATH="$COLLAB_CLASSPATH:$BASEDIR/systemlib/myauthmodule.jar"
# _/opt/blackboard/system/build/bin/launch-tool.sh_ To ensure command line tools continue to function.

h3. Cascading modules

The easiest way to get extra functionality in your authentication module is to extend a pre-existing one, though this isn't without its problems.
When extending the BaseAuthenticationModule or the LDAPAuthModule, you can simply use the properties that are already set on those modules to cascade the authentication. That is, if your custom authentication fails, it will try to authenticate the user against LDAP, and if that in turn fails, it will try and authenticate the user against the local database accounts.
----
{anchor:ERROR_STATES}

h3. Checking Login Error States

There are some cases where you want to check the blackboard error states, for example if a user enters the wrong password, the user doesn't exist, or the user is disabled. You can handle these error cases in requestAuthenticate(request, response) \{...\} by checking values in the "msg" request attribute.
Here are a couple of examples.

Adaptavist Theme Builder (4.1.3) Powered by Atlassian Confluence 3.3, the Enterprise Wiki