org.globus.ogsa.impl.base.cas.server.test
Class TestAssertionGeneration
java.lang.Object
TestCase
org.globus.ogsa.impl.base.cas.server.test.TestAssertionGeneration
- public class TestAssertionGeneration
- extends TestCase
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAssertionGeneration
public TestAssertionGeneration(java.lang.String name)
suite
public static Test suite()
setParams
public static void setParams(CommunityAuthorizationServicePortType casPort_)
testAssertionGeneration
public void testAssertionGeneration()
throws java.lang.Exception
- Throws:
java.lang.Exception
emptyAssertionsTest
public void emptyAssertionsTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
secondUserTest
public void secondUserTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
scenarioOneTest
public void scenarioOneTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
constructScenarioOneQuery
public SAMLAuthorizationDecisionQuery constructScenarioOneQuery()
throws java.lang.Exception
- Throws:
java.lang.Exception
scenarioOneVerify
public void scenarioOneVerify(SAMLAuthorizationDecisionStatement samlAuthzDecisionStmt,
java.lang.String resource)
throws java.lang.Exception
- Throws:
java.lang.Exception
scenarioTwoTest
public void scenarioTwoTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
scenarioThreeTest
public void scenarioThreeTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
scenarioFourTest
public void scenarioFourTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
validateAssertion
public java.util.Iterator validateAssertion(org.globus.ogsa.base.cas.casTypes.SAMLAssertion assertion)
throws java.lang.Exception
- Throws:
java.lang.Exception
constructMaxQuery
public SAMLAuthorizationDecisionQuery constructMaxQuery(SAMLSubject sub)
throws java.lang.Exception
- Throws:
java.lang.Exception