***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.user
Class SubjectMatter

com.sas.services.user.SubjectMatter
All Implemented Interfaces:
java.io.Serializable

public class SubjectMatter
implements java.io.Serializable

This class is used to marshall the contents of a Subject across a remote connection. By default credentials don't get transmitted, so this circumvents that. It is not intended that any class outside the User Service package use this class for any reason.

See Also:
Serialized Form

Constructor Summary
SubjectMatter()
           
 
Method Summary
 void addPrincipal(java.lang.Object principal)
          Add a principal to the collection.
 void addPrivateCredential(java.lang.Object credential)
          Add a private credential to the collection.
 void addPublicCredential(java.lang.Object credential)
          Add a public credential to the collection.
 java.util.List getPrincipals()
           
 java.util.List getPrivateCredentials()
           
 java.util.List getPublicCredentials()
           
 

Constructor Detail

SubjectMatter

public SubjectMatter()
Method Detail

addPrincipal

public void addPrincipal(java.lang.Object principal)
Add a principal to the collection.

Parameters:
principal - The Principal to add.

addPrivateCredential

public void addPrivateCredential(java.lang.Object credential)
Add a private credential to the collection.

Parameters:
credential - The Credential to add.

addPublicCredential

public void addPublicCredential(java.lang.Object credential)
Add a public credential to the collection.

Parameters:
credential - The credential to add to the public credential collection.

getPrincipals

public java.util.List getPrincipals()
Returns:
A List of principals.

getPrivateCredentials

public java.util.List getPrivateCredentials()
Returns:
A List of private credentials

getPublicCredentials

public java.util.List getPublicCredentials()
Returns:
A List of public credentials.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.