Package com.onelogin.saml2.model
Class AttributeConsumingService
java.lang.Object
com.onelogin.saml2.model.AttributeConsumingService
AttributeConsumingService class of OneLogin's Java Toolkit.
A class that stores AttributeConsumingService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<RequestedAttribute> Requested Attributesprivate final StringService Descriptionprivate final StringService Name -
Constructor Summary
ConstructorsConstructorDescriptionAttributeConsumingService(String serviceName, String serviceDescription) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal List<RequestedAttribute> final Stringfinal String
-
Field Details
-
serviceName
Service Name -
serviceDescription
Service Description -
requestedAttributes
Requested Attributes
-
-
Constructor Details
-
AttributeConsumingService
Constructor- Parameters:
serviceName- String. Service NameserviceDescription- String. Service Description
-
-
Method Details
-
addRequestedAttribute
- Parameters:
attr- RequestedAttribute. The requested attribute to be included
-
getServiceName
- Returns:
- string the service name
-
getServiceDescription
- Returns:
- string the service description
-
getRequestedAttributes
- Returns:
- List the requested attributes
-