|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.indexdata.mkjsf.pazpar2.commands.Pazpar2Command
com.indexdata.mkjsf.pazpar2.commands.sp.AuthCommand
public class AuthCommand
Represents a Service Proxy auth
command, can be accessed by pzreq.sp.auth
Authenticates a user against a Pazpar2 Service Proxy
Field Summary |
---|
Fields inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
---|
name, parameters |
Constructor Summary | |
---|---|
AuthCommand()
|
Method Summary | |
---|---|
AuthCommand |
copy()
Commands must implement this method to provide an completely detached, deep clone of themselves. |
String |
getAction()
Gets parameter value for action |
String |
getPassword()
Gets parameter value for password |
ServiceProxyCommand |
getSp()
Implementing classes must provide their Service Proxy extension command if any extension parameters exists, or -- just to be polite -- 'this' if there is no Service Proxy extension to the given command. |
String |
getUsername()
Gets parameter value for username |
SpResponseDataObject |
run()
Executes the command with the currently selected parameters against the currently selected Pazpar2 service |
void |
setAction(String action)
Sets Service Proxy command parameter action . |
void |
setPassword(String password)
Sets Service Proxy command parameter password . |
void |
setUsername(String username)
Sets Service Proxy command parameter username . |
boolean |
spOnly()
Here implementing commands publish whether they only apply to the Service Proxy or can be executed against straight Pazpar2 as well. |
Methods inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
---|
addExpression, checkInState, equals, getCommandName, getEncodedQueryString, getParameter, getParameterValue, getSession, getValueWithExpressions, hashCode, hasParameters, hasParameterValue, removeExpression, removeExpressions, removeExpressionsAfter, removeParameter, removeParameters, removeParametersInState, run, runWith, setCommandName, setParameter, setParameterInState, setParameters, setParametersInState, setSession, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthCommand()
Method Detail |
---|
public SpResponseDataObject run()
Pazpar2Command
run
in class Pazpar2Command
public void setAction(String action)
action
. See Service Proxy documentation for details.
public String getAction()
action
public void setUsername(String username)
username
. See Service Proxy documentation for details.
public String getUsername()
username
public void setPassword(String password)
password
. See Service Proxy documentation for details.
public String getPassword()
password
public AuthCommand copy()
Pazpar2Command
copy
in class Pazpar2Command
public ServiceProxyCommand getSp()
Pazpar2Command
getSp
in class Pazpar2Command
public boolean spOnly()
Pazpar2Command
spOnly
in interface ServiceProxyCommand
spOnly
in class Pazpar2Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |