mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
commit
6134f94e3c
@ -41,16 +41,13 @@ import java.util.List;
|
||||
public class Profiles {
|
||||
|
||||
@XmlElement(name = "Profile")
|
||||
protected List<String> profile;
|
||||
protected List<String> profile = new ArrayList<String>();;
|
||||
|
||||
/**
|
||||
* Gets the value of the profile property.
|
||||
*
|
||||
*/
|
||||
public List<String> getProfile() {
|
||||
if (profile == null) {
|
||||
profile = new ArrayList<String>();
|
||||
}
|
||||
return this.profile;
|
||||
}
|
||||
|
||||
|
||||
@ -81,7 +81,7 @@ public class JWTClientManagerServiceImpl implements JWTClientManagerService {
|
||||
addJWTClient(tenantDomain, jwtClient);
|
||||
} catch (JWTClientAlreadyExistsException e) {
|
||||
log.warn("Attempting to register a jwt client for the tenant " + tenantDomain +
|
||||
" when one already exists. Returning existing jwt client");
|
||||
" when one already exists. Returning existing jwt client", e);
|
||||
return getJWTClient(tenantDomain);
|
||||
} catch (JWTClientConfigurationException e) {
|
||||
throw new JWTClientException("Failed to parse jwt configuration for tenant " + tenantDomain, e);
|
||||
@ -110,7 +110,7 @@ public class JWTClientManagerServiceImpl implements JWTClientManagerService {
|
||||
addJWTClient(MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, defaultJWTClient);
|
||||
} catch (JWTClientAlreadyExistsException e) {
|
||||
log.warn("Attempting to register a jwt client for the super tenant" +
|
||||
" when one already exists. Returning existing jwt client");
|
||||
" when one already exists. Returning existing jwt client", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user