Authentication
API v8.1 SP2

com.rsa.authagent.authapi
Class AceSessionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.rsa.authagent.authapi.AceSessionTest
All Implemented Interfaces:
junit.framework.Test

public class AceSessionTest
extends junit.framework.TestCase

Test case for AuthSession


Constructor Summary
AceSessionTest()
           
 
Method Summary
 boolean check(java.lang.String user, java.lang.String password, int server)
           
 void displayServer(int j)
           
static void main(java.lang.String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testAceSession()
           
 void testAceSessionLoop()
           
 void testClientCheck()
           
 void testGetAuthStatusForFailedAuth()
           
 void testGetAuthStatusForNewPinMode()
           
 void testGetAuthStatusForPassedAuth()
           
 void testGetShell()
           
 void testLock()
           
 void testNewPinLongerThanMaxLength()
           
 void testNewPinShorterThanMinLength()
           
 void testPassCodeLengthMoreThanAllowed()
           
 void testUserLengthMoreThanAllowed()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AceSessionTest

public AceSessionTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testGetShell

public void testGetShell()

testLock

public void testLock()

testGetAuthStatusForFailedAuth

public void testGetAuthStatusForFailedAuth()

testGetAuthStatusForPassedAuth

public void testGetAuthStatusForPassedAuth()

testNewPinLongerThanMaxLength

public void testNewPinLongerThanMaxLength()

testNewPinShorterThanMinLength

public void testNewPinShorterThanMinLength()

testGetAuthStatusForNewPinMode

public void testGetAuthStatusForNewPinMode()

testClientCheck

public void testClientCheck()
                     throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

main

public static void main(java.lang.String[] args)

testAceSessionLoop

public void testAceSessionLoop()

testAceSession

public void testAceSession()

testUserLengthMoreThanAllowed

public void testUserLengthMoreThanAllowed()

testPassCodeLengthMoreThanAllowed

public void testPassCodeLengthMoreThanAllowed()

displayServer

public void displayServer(int j)

check

public boolean check(java.lang.String user,
                     java.lang.String password,
                     int server)

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

Authentication
API v8.1 SP2

Copyright © 1999 - 2011 EMC Corporation. All Rights Reserved.