- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file AuthParser.java.
◆ execute()
boolean org.turro.auth.AuthParser.execute |
( |
IConstructor |
constructor, |
|
|
PrintWriter |
out, |
|
|
String[] |
tokens |
|
) |
| |
Implements org.turro.parser.IParser.
Definition at line 36 of file AuthParser.java.
38 if(tokens.length > 0) {
39 if(
"auth-url".equals(tokens[0])) {
40 if(tokens.length == 4) {
41 String url = AuthActions.getAccessURL(tokens[1], tokens[2], tokens[3]);
42 if(!Strings.isBlank(url)) {
47 }
else if(
"auth-connector".equals(tokens[0])) {
48 if(tokens.length == 4) {
49 IContact contact = Authentication.getIContact();
50 if(contact.isValid()) {
51 out.write(contact.getConnector(tokens[1]));
The documentation for this class was generated from the following file: