Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.login
Class TrustingLoginPlugin

java.lang.Object
  extended by org.nuxeo.ecm.platform.login.BaseLoginModule
      extended by org.nuxeo.ecm.platform.login.TrustingLoginPlugin
All Implemented Interfaces:
LoginPlugin

public class TrustingLoginPlugin
extends BaseLoginModule

Dummy LoginModule Plugin: it always trusts in the UserIndetificationInfo that it receive and does no validation.

This plugin can be used when the complete authentication process has already been done before: for example by an authentification proxy.

Warning: only configure this LoginModulePlugin if you have an Auth Plugin that checks completely user authentication.

Author:
tiry

Field Summary
static String NAME
          The name associated to this LoginPlugin.
 
Constructor Summary
TrustingLoginPlugin()
           
 
Method Summary
 Boolean initLoginModule()
           
 String validatedUserIdentity(UserIdentificationInfo userIdent)
           
 
Methods inherited from class org.nuxeo.ecm.platform.login.BaseLoginModule
getLoginPage, getName, getParameter, getParameters, setLoginPage, setName, setParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The name associated to this LoginPlugin.

See Also:
Constant Field Values
Constructor Detail

TrustingLoginPlugin

public TrustingLoginPlugin()
Method Detail

initLoginModule

public Boolean initLoginModule()

validatedUserIdentity

public String validatedUserIdentity(UserIdentificationInfo userIdent)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.