edu.uiuc.ncsa.security.delegation.client.request.DelegatedAssetResponse Maven / Gradle / Ivy
package edu.uiuc.ncsa.security.delegation.client.request;
import edu.uiuc.ncsa.security.delegation.token.ProtectedAsset;
import java.util.HashMap;
import java.util.Map;
/**
* The delegated asset. The reponse may also include additional information that
* are returned as key/value pairs in a map. These may or may not be present.
* Created by Jeff Gaynor
* on Apr 15, 2011 at 11:13:35 AM
*/
public class DelegatedAssetResponse extends BasicResponse {
public DelegatedAssetResponse(ProtectedAsset protectedAsset) {
this.protectedAsset = protectedAsset;
}
public ProtectedAsset getProtectedAsset() {
return protectedAsset;
}
public void setProtectedAsset(ProtectedAsset protectedAsset) {
this.protectedAsset = protectedAsset;
}
ProtectedAsset protectedAsset;
public Map getAdditionalInformation() {
if (additionalInformation == null) {
additionalInformation = new HashMap();
}
return additionalInformation;
}
public void setAdditionalInformation(Map additionalInformation) {
this.additionalInformation = additionalInformation;
}
Map additionalInformation;
}