@Service(value=java.lang.Object.class) @Property(name="javax.ws.rs", boolValue=true) public class PasswordReset extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PASSWORD_USER
Service property
|
Constructor and Description |
---|
PasswordReset() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
The activate method is called when SCR activates the component configuration.
|
javax.ws.rs.core.Response |
reset(String userName,
String email,
javax.ws.rs.core.UriInfo uriInfo) |
GraphNode |
resetPage(javax.ws.rs.core.UriInfo uriInfo) |
@Property(value="admin", description="Platform user that is responsible for password management") public static final String PASSWORD_USER
protected void activate(org.osgi.service.component.ComponentContext componentContext)
componentContext
- public GraphNode resetPage(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.