Search in sources :

Example 1 with AMCommonNameGenerator

use of com.sun.identity.console.base.model.AMCommonNameGenerator in project OpenAM by OpenRock.

the class AMPrimaryMastHeadViewBean method getUserDisplayName.

private String getUserDisplayName() {
    String name = "";
    AMModel model = getModel();
    if (model != null) {
        String userId = model.getUserName();
        AMCommonNameGenerator gen = AMCommonNameGenerator.getInstance();
        name = gen.generateCommonName(userId, model);
    }
    return name;
}
Also used : AMModel(com.sun.identity.console.base.model.AMModel) AMCommonNameGenerator(com.sun.identity.console.base.model.AMCommonNameGenerator)

Aggregations

AMCommonNameGenerator (com.sun.identity.console.base.model.AMCommonNameGenerator)1 AMModel (com.sun.identity.console.base.model.AMModel)1