Sonic Management API

com.sonicsw.security.pass.client
Interface IPasswordUser

All Superinterfaces:
java.security.Principal

public interface IPasswordUser
extends java.security.Principal

User's credentials for authentication, used under PASS framework

This class is used by SonicMQ runtime to get to the users credential.

See Also:
ILogin.getCredential(),


Method Summary
 java.lang.String[] getGroups()
           
 byte[] getPassword()
           
 void setGroups(java.lang.String[] groups)
          Sets the groups the user belongs to.
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getGroups

java.lang.String[] getGroups()
Returns:
the groups user belongs to. This is used by the SonicMQ server side runtime.

See Also:
IAuthentication.updateUserInfo(String[]), IManagement.getUser(String), IManagement.getUsers()

getPassword

byte[] getPassword()
Returns:
the byte array. An opaque object containing client credential (e.g., a user certificate etc.)

See Also:
com.sonicsw.security.pass.broker.IAuthentication#authenticate(String, byte[])

setGroups

void setGroups(java.lang.String[] groups)
Sets the groups the user belongs to. This infromation is set by the SPI implementor.


Sonic Management API

Copyright © 2001-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 12-Aug-2011.