Search in sources :

Example 1 with AuthConfigurationModelImpl

use of com.sun.identity.console.authentication.model.AuthConfigurationModelImpl in project OpenAM by OpenRock.

the class NewAuthConfigViewBean method getModelInternal.

protected AMModel getModelInternal() {
    if (acModel == null) {
        RequestContext rc = RequestManager.getRequestContext();
        acModel = new AuthConfigurationModelImpl(rc.getRequest(), getPageSessionAttributes());
    }
    return acModel;
}
Also used : AuthConfigurationModelImpl(com.sun.identity.console.authentication.model.AuthConfigurationModelImpl) RequestContext(com.iplanet.jato.RequestContext)

Example 2 with AuthConfigurationModelImpl

use of com.sun.identity.console.authentication.model.AuthConfigurationModelImpl in project OpenAM by OpenRock.

the class AuthPropertiesViewBean method getConfigModel.

private AMModel getConfigModel() {
    RequestContext rc = RequestManager.getRequestContext();
    HttpServletRequest req = rc.getRequest();
    return new AuthConfigurationModelImpl(req, getPageSessionAttributes());
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AuthConfigurationModelImpl(com.sun.identity.console.authentication.model.AuthConfigurationModelImpl) RequestContext(com.iplanet.jato.RequestContext)

Example 3 with AuthConfigurationModelImpl

use of com.sun.identity.console.authentication.model.AuthConfigurationModelImpl in project OpenAM by OpenRock.

the class AuthConfigViewBean method getModelInternal.

protected AMModel getModelInternal() {
    RequestContext rc = RequestManager.getRequestContext();
    acModel = new AuthConfigurationModelImpl(rc.getRequest(), getPageSessionAttributes());
    acModel.initialize(getRealmName(), getConfigName());
    return acModel;
}
Also used : AuthConfigurationModelImpl(com.sun.identity.console.authentication.model.AuthConfigurationModelImpl) RequestContext(com.iplanet.jato.RequestContext)

Example 4 with AuthConfigurationModelImpl

use of com.sun.identity.console.authentication.model.AuthConfigurationModelImpl in project OpenAM by OpenRock.

the class AuthConfigViewBean method getBreadCrumbDisplayName.

protected String getBreadCrumbDisplayName() {
    String[] arg = { getConfigName() };
    AuthConfigurationModelImpl model = (AuthConfigurationModelImpl) getModel();
    return MessageFormat.format(model.getLocalizedString("breadcrumbs.auth.editConfiguration"), (Object[]) arg);
}
Also used : AuthConfigurationModelImpl(com.sun.identity.console.authentication.model.AuthConfigurationModelImpl)

Aggregations

AuthConfigurationModelImpl (com.sun.identity.console.authentication.model.AuthConfigurationModelImpl)4 RequestContext (com.iplanet.jato.RequestContext)3 HttpServletRequest (javax.servlet.http.HttpServletRequest)1