Class OpenAMAuthFactory
- java.lang.Object
-
- org.forgerock.openam.radius.server.spi.handlers.amhandler.OpenAMAuthFactory
-
public class OpenAMAuthFactory extends Object
Creation of ContextHolder. This aids with testing the OpenAMAuthHandler
-
-
Constructor Summary
Constructors Constructor Description OpenAMAuthFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthContextgetAuthContext(String realm)Return on OpenAM auth context for the requested realm.
-
-
-
Method Detail
-
getAuthContext
public AuthContext getAuthContext(String realm) throws AuthLoginException
Return on OpenAM auth context for the requested realm.- Parameters:
realm- the realm to which the returnedAuthContextshould relate.- Returns:
- a newly created
AuthContextthat may be used to authenticate a subject against realm. - Throws:
AuthLoginException- - if AuthContext creation fails. This exception is kept for backward compatibility only.
-
-