ResourceResolver
instance based on the given authenticationInfo
map and the original authentication info used to create this instance. The new resource resolver is created according to the following algorithm:
Map<String, Object> newAuthenticationInfo = new HashMap( authenticationInfoOfThisInstance); newAuthenticationInfo.addAll(authenticationInfo); return resourceResolverFactory.getResourceResolver(newAuthenticationInfo);@param authenticationInfo The map or credential data to overlay theoriginal credential data with for the creation of a new resource resolver. This may be
null
in which case the same credential data is used as was used to create this instance.
@return A new ResourceResolver
@throws LoginException If an error occurs creating the newResourceResolver
with the provided credential data.
@throws IllegalStateException if this resource resolver has already been{@link #close() closed}.
@since 2.1
|
|