public class ResourcePasswordPersister extends Persister implements Serializable
Constructor and Description |
---|
ResourcePasswordPersister(SQLPasswordStrings sqlPasswordStrings) |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptedBoundPasswordByResourceId(SQLConnection connection,
Resource resource) |
void |
removeEncryptedBoundPasswordByResourceId(SQLConnection connection,
Resource resource) |
void |
setEncryptedBoundPasswordByResourceId(SQLConnection connection,
Id<ResourceId> resourceId,
String newEncryptedBoundPassword) |
void |
setEncryptedBoundPasswordByResourceId(SQLConnection connection,
Resource resource,
String newEncryptedBoundPassword) |
assertOneRowInserted, assertOneRowUpdated, closeStatement
public ResourcePasswordPersister(SQLPasswordStrings sqlPasswordStrings)
public String getEncryptedBoundPasswordByResourceId(SQLConnection connection, Resource resource)
public void setEncryptedBoundPasswordByResourceId(SQLConnection connection, Resource resource, String newEncryptedBoundPassword)
public void setEncryptedBoundPasswordByResourceId(SQLConnection connection, Id<ResourceId> resourceId, String newEncryptedBoundPassword)
public void removeEncryptedBoundPasswordByResourceId(SQLConnection connection, Resource resource)
OACC is a Java Application Security Framework developed by Acciente, LLC., released under Apache License 2.0.
Copyright 2009-2017, Acciente, LLC.