Package org.freedesktop.secret
Class Static.ObjectPaths
java.lang.Object
org.freedesktop.secret.Static.ObjectPaths
- Enclosing class:
- Static
public static class Static.ObjectPaths extends Object
-
Field Summary
Fields Modifier and Type Field Description static StringALIASESstatic StringCOLLECTIONstatic StringDEFAULT_COLLECTIONstatic StringLOGIN_COLLECTIONstatic StringPROMPTstatic StringSECRETSThe object path for the service.static StringSESSIONstatic StringSESSION_COLLECTION -
Constructor Summary
Constructors Constructor Description ObjectPaths() -
Method Summary
Modifier and Type Method Description static Stringcollection(String name)The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.static Stringitem(String collection, String item_id)The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.static Stringprompt(String window_id)The object path for a prompt, where pppp is the window_id.static Stringsession(String session_id)The object path for a session, where ssss is an auto-generated session specific identifier.
-
Field Details
-
SECRETS
The object path for the service.- See Also:
- Constant Field Values
-
SESSION
- See Also:
- Constant Field Values
-
ALIASES
- See Also:
- Constant Field Values
-
DEFAULT_COLLECTION
- See Also:
- Constant Field Values
-
COLLECTION
- See Also:
- Constant Field Values
-
SESSION_COLLECTION
- See Also:
- Constant Field Values
-
LOGIN_COLLECTION
- See Also:
- Constant Field Values
-
PROMPT
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ObjectPaths
public ObjectPaths()
-
-
Method Details
-
collection
The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.- Parameters:
name- the encoded name of the collection- Returns:
- path of the collection
/org/freedesktop/secrets/collection/xxxx
-
item
The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.- Parameters:
collection- the encoded name of the collectionitem_id- the encoded name of the item- Returns:
- path of the item
/org/freedesktop/secrets/collection/xxxx/iiii
-
session
The object path for a session, where ssss is an auto-generated session specific identifier.- Parameters:
session_id- the current id of the session- Returns:
- path of the session
/org/freedesktop/secrets/session/ssss
-
prompt
The object path for a prompt, where pppp is the window_id.- Parameters:
window_id- id of the current prompt's window- Returns:
- path of the prompt
/org/freedesktop/secrets/prompt/pppp
-