All Examples  This Package

Class examples.security.snoopproof.SnoopProofRealm

java.lang.Object
   |
   +----weblogic.security.acl.BasicRealmDelegator
           |
           +----examples.security.snoopproof.SnoopProofRealm

public class SnoopProofRealm
extends BasicRealmDelegator
SnoopProofRealm delegates most operations to some other realm, but implements authentication by comparing MD5 digests of the present and previous period, and prevents repeated success with the same credential.

Author:
Copyright (c) 1997-1999 by BEA Systems. All Rights Reserved.

Constructor Index

 o SnoopProofRealm()
Default constructor.

Method Index

 o getUser(UserInfo)
Checks user info against digests based the current and previous minute.
 o init(String, Object)
Initializes the realm.
 o load(String, Object)
Loads the SnoopProof realm, which has the effect of setting up the proxy as the delegate for other names.
 o main(String[])
Constructs a SnoopProofRealm instance for the indicated realm and realm password and creates a Syncer as a simple time service.

Constructors

 o SnoopProofRealm
 public SnoopProofRealm()
Default constructor.

Methods

 o main
 public static void main(String args[])
Constructs a SnoopProofRealm instance for the indicated realm and realm password and creates a Syncer as a simple time service.

 o init
 public void init(String name,
                  Object credential) throws NotOwnerException
Initializes the realm.

Overrides:
init in class BasicRealmDelegator
 o getUser
 public User getUser(UserInfo userInfo)
Checks user info against digests based the current and previous minute.

Overrides:
getUser in class BasicRealmDelegator
 o load
 public void load(String name,
                  Object credential) throws ClassNotFoundException, IOException, NotOwnerException
Loads the SnoopProof realm, which has the effect of setting up the proxy as the delegate for other names.

Overrides:
load in class BasicRealmDelegator

All Examples  This Package