Package onep :: Package aaa :: Module StringAttribute :: Class StringAttribute
[frames] | no frames]

Class StringAttribute


The Attribute class for storing AAA string attribute.

Instance Methods
 
__init__(self, type_, name, str_value)
Create an Attribute that has String format.
 
__str__(self)
str(x)

Inherited from Attribute.Attribute: toIDL

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from Attribute.Attribute: fromIDL, fromIDLList, toIDLList

Class Variables

Inherited from Attribute.Attribute: log

Instance Variables
  str_value
The value of a AAA attribute of type String.

Inherited from Attribute.Attribute: name, type_

Properties

Inherited from object: __class__

Method Details

__init__(self, type_, name, str_value)
(Constructor)

 

Create an Attribute that has String format. This constructor creates an Attribute with the given Attribute type and value. The Application-specific attributes are keyed on attribute names, hence the name parameters are required parameters for application-specific attributes. The AAA attribute must be of string format.

Parameters:
  • type_ - Type of the attribute.
  • name - Name of the attribute.
  • str_value - Value of the attribute.
Raises:
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

Instance Variable Details

str_value

The value of a AAA attribute of type String. This method retrieves the value of an attribute identified by the given name. The attribute is retrieved as part of {@link aaa.User#authenticate} method. The attribute name and type must exactly match one of the attribute names in the user's profile on the AAA Server.