/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: AMSDKEventListener.java,v 1.6 2008/08/19 19:08:51 veiming Exp $
*
* Portions Copyrighted 2015 ForgeRock AS.
*/
/**
* Implements <code>AMEventListener</code> from OpenAM SDK. This
* listens to authentication configuration changes for users and roles
*/
/**
* Constructor.
*
* @param name Authentication configuration name
*/
configName = name;
}
/**
* Returns configuration name.
*
* @return configuration name.
*/
return configName;
}
/**
* Implements <code>com.iplanet.am.sdk.AMEventListener</code>.
*
* @param event
* @see com.iplanet.am.sdk.AMEventListener#objectChanged
*/
// do nothing
return;
}
if (debug.messageEnabled()) {
}
// process object change
}
/**
* Implements <code>com.iplanet.am.sdk.AMEventListener</code>.
*
* @param event AM event
* @see com.iplanet.am.sdk.AMEventListener#objectRemoved
*/
// do nothing
return;
}
if (debug.messageEnabled()) {
}
// process object change
}
/**
* Implements <code>com.iplanet.am.sdk.AMEventListener</code>.
*
* @param event AM event
* @see com.iplanet.am.sdk.AMEventListener#objectRenamed
*/
// do nothing
return;
}
if (debug.messageEnabled()) {
}
// process object change
}
/**
* Processes SDK notification for an entry, this method will go ahead to
* remove the corresponding config entry affected by the change. So when
* a new request comes, it will get the upto date authentication
* configuration.
*/
private void processSDKNotification() {
try {
if (debug.messageEnabled()) {
}
} catch (Exception e) {
}
}
/**
* Returns object to be listened.
*
* @return object to be listened.
*/
return amObject;
}
/**
* Sets listened object.
*
* @param object Object to listen to.
*/
}
}