uCosminexus Application Server, Security Management Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
The size method
Description
Obtains the total number of attributes bound to the subject.
Syntax
public int size()
throws IllegalStateException;
Parameters
Exception
- java.lang.IllegalStateException:
- If the object is invalid, java.lang.IllegalStateException occurs. Note that this exception inherits from java.lang.RuntimeException and can therefore be compiled without being defined in catch or throws.
- This exception occurs when both of the following conditions coexist:
- The subject that has this object is read-only.
- The logout process is performed using the logout method.
Return value
The total number of attributes associated with the subject
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd