All Examples This Package
Class examples.security.snoopproof.SnoopProofUserInfo
java.lang.Object
|
+----examples.security.snoopproof.SnoopProofUserInfo
- public class SnoopProofUserInfo
- extends Object
- implements UserInfo, WLSerializable
SnoopProofUserInfo creates a digest based on the password
and the current server time as part of its writeObject method. It obtains
the time difference for the server from the SnoopProofProxy.
- Author:
- Copyright (c) 1997-1999 by BEA Systems. All Rights Reserved.
-
millisPerMinute
- Sets a static variable for milliseconds in a minute.
-
SnoopProofUserInfo()
- Default constructor (used for serialization).
-
asMinutes(long)
- Rounds milliseconds to the nearest minute.
-
crypt(long, String)
- Creates a digest of the seed and password.
-
getName()
- Gets the name associated with the user info.
-
getRealmName()
- Gets the realm name associated with the user info.
-
readObject(WLObjectInput)
- Reads the name, realm name, and password digest.
-
writeObject(WLObjectOutput)
- Writes the name and realm name and a digest for the password.
millisPerMinute
public static final long millisPerMinute
- Sets a static variable for milliseconds in a minute.
SnoopProofUserInfo
public SnoopProofUserInfo()
- Default constructor (used for serialization).
asMinutes
public static long asMinutes(long millis)
- Rounds milliseconds to the nearest minute.
crypt
public static byte[] crypt(long seed,
String password)
- Creates a digest of the seed and password.
getName
public String getName()
- Gets the name associated with the user info.
getRealmName
public String getRealmName()
- Gets the realm name associated with the user info.
writeObject
public void writeObject(WLObjectOutput out) throws IOException
- Writes the name and realm name and a digest for the password.
This is used for WebLogic serialization.
readObject
public void readObject(WLObjectInput in) throws IOException, ClassNotFoundException
- Reads the name, realm name, and password digest. This is
used for WebLogic serialization.
All Examples This Package