new String[]{getDomainName(), configName, trustId});
}
// ip address is must for trusted entity config
if ( ipAdd != null) {
TrustedEntity tEntity = new TrustedEntity();
if (entityId == null)
entityId = "entityid-0";
tEntity.setId(entityId);
if (trustedAs != null)
tEntity.setTrustedAs(trustedAs);
tEntity.setIpAddress(ipAdd);
tEntity.setPrincipal(principal);
tEntity.setHostName(hostName);
trustConfig.addTrustedEntity(tEntity);
securityService.addIdentityAssertionTrust(trustConfig);
// return trustId;
return getMBeanRegistry().getMbeanObjectName("trusted-entity",
new String[]{getDomainName(), configName, trustId, entityId});