de.smartics.properties.admin.resources.controller
Class SecurityResource
java.lang.Object
de.smartics.properties.admin.resources.controller.SecurityResource
-
@Path(value="")
public class SecurityResource
-
extends
Object
Provides access to en- and decrypt.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityResource
public SecurityResource()
getAsHtml
@GET
@POST
@Path(value="/security")
@Produces(value="text/html")
public Security getAsHtml(@FormParam(value="encrypt")
String plainValue,
@FormParam(value="decrypt")
String encryptedValue)
-
Returns the encrypted or decrypted text. Provides the empty HTML form if both values are
null
.
-
-
Parameters:
-
plainValue
- the optional value to be encrypted.
-
encryptedValue
- the optional value to be decrypted. Only used if
plainValue
is
null
.
-
Returns:
-
the HTML representation.
Copyright © 2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.