org.okiproject.serviceimpl.mit.authen
Class AuthenFactory

java.lang.Object
  |
  +--org.okiproject.serviceapi.authen.AuthenFactory
        |
        +--org.okiproject.serviceimpl.mit.authen.AuthenFactory
All Implemented Interfaces:
java.io.Serializable

public class AuthenFactory
extends org.okiproject.serviceapi.authen.AuthenFactory

Copyright (c) 2001 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

$Source: /cvs/oki/org/okiproject/serviceimpl/mit/doc/authen/org/okiproject/serviceimpl/mit/authen/AuthenFactory.html,v $

See Also:
Serialized Form

Constructor Summary
AuthenFactory()
           
 
Method Summary
 void destroyAuthen(org.okiproject.serviceapi.common.Agent agent)
           
 void destroyAuthen(org.okiproject.serviceapi.common.Agent agent, java.lang.String type)
           
 void destroyAuthen(org.okiproject.serviceapi.common.Agent agent, java.lang.String[] types)
           
 org.okiproject.serviceapi.common.Agent getAgent()
          Returns an Agent that may or may not be anonymous
 org.okiproject.serviceapi.common.Agent getAgent(org.okiproject.serviceapi.common.Agent agent, java.lang.String type)
           
 java.lang.String[] getAuthenTypes()
          Returns the types of Authentication that are available to the current implementation
 java.lang.String[] getAuthenTypes(org.okiproject.serviceapi.common.Agent agent)
          Returns the types of Authentication that this agent currently has.
 
Methods inherited from class org.okiproject.serviceapi.authen.AuthenFactory
getDefaultAuthenFactory, getDefaultAuthenFactory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenFactory

public AuthenFactory()
Method Detail

getAgent

public org.okiproject.serviceapi.common.Agent getAgent()
                                                throws java.lang.Throwable
Returns an Agent that may or may not be anonymous
Overrides:
getAgent in class org.okiproject.serviceapi.authen.AuthenFactory

getAuthenTypes

public java.lang.String[] getAuthenTypes()
                                  throws java.lang.Exception
Returns the types of Authentication that are available to the current implementation
Overrides:
getAuthenTypes in class org.okiproject.serviceapi.authen.AuthenFactory

getAuthenTypes

public java.lang.String[] getAuthenTypes(org.okiproject.serviceapi.common.Agent agent)
                                  throws java.lang.Exception
Returns the types of Authentication that this agent currently has.
Overrides:
getAuthenTypes in class org.okiproject.serviceapi.authen.AuthenFactory

getAgent

public org.okiproject.serviceapi.common.Agent getAgent(org.okiproject.serviceapi.common.Agent agent,
                                                       java.lang.String type)
                                                throws java.lang.Throwable
Overrides:
getAgent in class org.okiproject.serviceapi.authen.AuthenFactory

destroyAuthen

public void destroyAuthen(org.okiproject.serviceapi.common.Agent agent)
                   throws java.lang.Exception
Overrides:
destroyAuthen in class org.okiproject.serviceapi.authen.AuthenFactory

destroyAuthen

public void destroyAuthen(org.okiproject.serviceapi.common.Agent agent,
                          java.lang.String type)
                   throws java.lang.Exception
Overrides:
destroyAuthen in class org.okiproject.serviceapi.authen.AuthenFactory

destroyAuthen

public void destroyAuthen(org.okiproject.serviceapi.common.Agent agent,
                          java.lang.String[] types)
                   throws java.lang.Exception
Overrides:
destroyAuthen in class org.okiproject.serviceapi.authen.AuthenFactory