ShibbolethConstants.SAML11P_NS);
if (relyingPartyRole == null) {
- relyingPartyRole = requestContext.getRelyingPartyMetadata()
- .getSPSSODescriptor(ShibbolethConstants.SAML10P_NS);
+ relyingPartyRole = requestContext.getRelyingPartyMetadata().getSPSSODescriptor(
+ ShibbolethConstants.SAML10P_NS);
if (relyingPartyRole == null) {
throw new MetadataProviderException("Unable to locate SPSSO role descriptor for entity "
+ requestContext.getRelyingPartyId());
/** Basic data structure used to accumulate information as a request is being processed. */
protected class AttributeQueryContext extends
SAML1ProfileRequestContext<Request, Response, AttributeQueryConfiguration> {
-
+
+ /** Current attribute query. */
private AttributeQuery attributeQuery;
/**
* @param request current profile request
* @param response current profile response
*/
- public AttributeQueryContext(ProfileRequest<ServletRequest> request, ProfileResponse<ServletResponse> response) {
+ public AttributeQueryContext(ProfileRequest<ServletRequest> request,
+ ProfileResponse<ServletResponse> response) {
super(request, response);
}
-
- public AttributeQuery getAttributeQuery(){
+
+ /**
+ * Gets the attribute query of the request.
+ *
+ * @return attribute query of the request
+ */
+ public AttributeQuery getAttributeQuery() {
return attributeQuery;
}
-
- public void setAttributeQuery(AttributeQuery query){
+
+ /**
+ * Sets the attribute query of the request.
+ *
+ * @param query attribute query of the request
+ */
+ public void setAttributeQuery(AttributeQuery query) {
attributeQuery = query;
}
}
import org.opensaml.common.binding.BasicEndpointSelector;
import org.opensaml.common.binding.BindingException;
import org.opensaml.common.binding.encoding.MessageEncoder;
-import org.opensaml.saml1.core.AttributeStatement;
import org.opensaml.saml1.core.AuthenticationStatement;
import org.opensaml.saml1.core.Request;
import org.opensaml.saml1.core.Response;