Oracle Application Server JAAS Provider API Reference
10g Release 2 (10.1.2)

B14019-02


oracle.security.jazn.realm
Class RealmUserPrivateCredential

java.lang.Object
  extended byoracle.security.jazn.realm.RealmUserPrivateCredential


public class RealmUserPrivateCredential
extends java.lang.Object

This class represents a private credential for a realm user.


Constructor Summary
RealmUserPrivateCredential(java.lang.String name, char[] cred)
Creates a RealmUserPrivateCredential with a char array

Method Summary
boolean equals(java.lang.Object o)
Compares the specified Object with this RealmUserPrivateCredential for equality.
char[] getCredential()
Returns a char array representation of this RealmUserPrivateCredential
java.lang.String toString()
Return a string representation of this RealmUserPrivateCredential.

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

RealmUserPrivateCredential

public RealmUserPrivateCredential(java.lang.String name,
                                  char[] cred)
Creates a RealmUserPrivateCredential with a char array
Parameters:
name - the name of the user
cred - the credential of this user.

Method Detail

getCredential

public char[] getCredential()
Returns a char array representation of this RealmUserPrivateCredential
Returns:
a char array representation of this RealmUserPrivateCredential

toString

public java.lang.String toString()
Return a string representation of this RealmUserPrivateCredential.
Returns:
a string representation of this RealmUserPrivateCredential.

equals

public boolean equals(java.lang.Object o)
Compares the specified Object with this RealmUserPrivateCredential for equality. Returns true if the given object is also a RealmUserPrivateCredential and the two RealmUserPrivateCredentials have identical values.
Parameters:
o - Object to be compared for equality with this RealmUserPrivateCredential.
Returns:
true if the specified Object is equal equal to this RealmUserPrivateCredential.

Oracle Application Server JAAS Provider API Reference
10g Release 2 (10.1.2)

B14019-02


Copyright © 2004, 2005, Oracle. All rights reserved.