security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java
public IdentityTrustManager getIdentityTrustManager(String securityDomain) {
        IdentityTrustManager itm = null;
        try {
            itm = idmMgrMap.get(securityDomain);
            if (itm == null) {
                itm = (IdentityTrustManager) lookUpJNDI(securityDomain + "/identityTrustMgr");
                idmMgrMap.put(securityDomain, itm);
            }
        } catch (Exception e) {
            SecurityLogger.ROOT_LOGGER.tracef(e, "Exception getting IdentityTrustManager for domain=%s" + securityDomain);
        }
        return itm;
    }
public IdentityTrustManager getIdentityTrustManager(String securityDomain) {
        IdentityTrustManager itm = null;
        try {
            itm = idmMgrMap.get(securityDomain);
            if (itm == null) {
                itm = (IdentityTrustManager) lookUpJNDI(securityDomain + "/identityTrustMgr");
                idmMgrMap.put(securityDomain, itm);
            }
        } catch (Exception e) {
            SecurityLogger.ROOT_LOGGER.tracef(e, "Exception getting IdentityTrustManager for domain=%s" + securityDomain);
        }
        return itm;
    }
public IdentityTrustManager getIdentityTrustManager ( String securityDomain ) { IdentityTrustManager itm = null ; try { itm = idmMgrMap . get ( securityDomain ) ; if ( itm == null ) { itm = ( IdentityTrustManager ) lookUpJNDI ( securityDomain + "/identityTrustMgr" ) ; idmMgrMap . put ( securityDomain , itm ) ; } } catch ( Exception e ) { SecurityLogger . ROOT_LOGGER . tracef ( e , "Exception getting IdentityTrustManager for domain=%s" + securityDomain ) ; } return itm ; }
{@inheritDoc}
{