public class Authenticate extends StdWebMacro
idConverter| Constructor | Description | 
|---|---|
| Authenticate() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static boolean | authenticated(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
             java.lang.String login,
             java.lang.String password) | |
| static java.lang.String | getAuth(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) | |
| static MOB | getAuthenticatedMob(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) | |
| static java.lang.String | getLogin(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) | |
| static java.lang.String | getPassword(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) | |
| boolean | isAdminMacro() | Whether this macro is restricted to the admin web server. | 
| java.lang.String | name() | The public name of this macro | 
| java.lang.String | runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
        java.lang.String parm,
        com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) | This method is executed only if this macro returns false for
 preferBinary(). | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAWebPath, L, newInstance, parseOrderedParms, parseParms, parseParms, preferBinary, runBinaryMacro, safeIncomingfilter, webify, webifypublic java.lang.String name()
WebMacroname in interface CMObjectname in interface WebMacroname in class StdWebMacroEnvironmental.Name()public boolean isAdminMacro()
WebMacroisAdminMacro in interface WebMacroisAdminMacro in class StdWebMacropublic java.lang.String runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
                                 java.lang.String parm,
                                 com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp)
WebMacrorunMacro in interface WebMacrorunMacro in class StdWebMacrohttpReq - the external requests objectparm - any parameter strings given to the macrohttpResp - the response, with headersWebMacro.preferBinary(), 
HTTPRequestpublic static java.lang.String getAuth(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)
public static boolean authenticated(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
                                    java.lang.String login,
                                    java.lang.String password)
public static MOB getAuthenticatedMob(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)
public static java.lang.String getLogin(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)
public static java.lang.String getPassword(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)